Page 1 of 1

Changing color of text found with regex

Posted: Tue Sep 26, 2017 2:54 pm
by poorawaste
Hi,
I have multiple text layers in the document. I would like to filter through the contents of each text layer with regex and change the color of the found result.
In the example below I would like to find all the hastags in the text layer and change the color to blue.

Example:
This is a really long piece of text copy and #hashtag more copy here #anotherhastag #hashtagNo3

I've written a few scripts for indesign that involve GREP(regex) and it's fairly simple to change the color of the found results. I can't seem to find a solution for this in photoshop.

Thanks

Re: Changing color of text found with regex

Posted: Wed Sep 27, 2017 7:39 am
by txuku
Bonjour

Some answers HERE ! :D