help with little script using grep
i am a begginer but i guess this will not be a problem for somebody who is experienced...
i am working with a lot of files that have tags. tag for italic text, tag for centered text and so on, i manage to
get regular expression to work and to do all of these things with find/change dialog, but i would like to
automate all of it..
so for example i have part of the text that need to be italic that is enclosed in underscores like this _something that needs to be italic_
and i have this regular expression that takes care of it _[A-Za-z0-9,;\-\?\(&!\):'". ]+_
finds all the matches and applies the text style i want.
how to do that with script? thanks in advance.