Grep, Italicise Quotes
Hi Guys,
I'm pretty new to the Grep stuff, although it seems nice and logical.
I'm trying to italicise the contents of quotes within my document (am happy for the quotes to also be made italic, so no worries about being too clever trying to exclude them)
The problem comes when i use:
".+"
This makes all words italic even if they are between two sets of quotes i.e.
"Text in quote" Text outside Quote "Text in Second Quote" Text outside Quote "Text in Third Quote"
I'm not sure how to get from that, to the following which does not italicise the text outside the quotes. I'm assuming that i need to search for an odd number of quotes from the start of the paragraph and then only count text between that quote and the next. Or perhaps there is a better way.
"Text in quote" Text outside Quote "Text in Second Quote" Text outside Quote "Text in Third Quote"
Any help would be hugely appreciated.
Cheers
