Search and replace by RegEx/GREP
Hi.
Can somebody tell me if Photoshop allows the use of RegEx/GREP in a script?
I need to change prizes in a document.
something like this:
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "^(\\d{1,3})(,)(\\d{2})";
app.changeGrepPreferences.changeTo = myArtPrizeEuro +"$2" + myArtPrizeCent;
app.textItem.activeDocument.changeGrep();
app.findGrepPreferences = NothingEnum.nothing;
app.changeGrepPreferences = NothingEnum.nothing;
