View Single Post
 
Old 10-30-2015, 03:40 AM
Marco Marco is offline Windows Vista Office 2007
Novice
 
Join Date: Apr 2015
Posts: 15
Marco is on a distinguished road
Default finding a string containing a combination of formats and adding text before

I have a text with several paragraphs.
For each of them I trying to find the following combinations, and put before them a particular character:

[space][one italic character]
should become:
§[found text]

[one italic character][space][one non italic character]
should become:
@[found text]

for example "Aaaaa bbbb cccc" should become "Aaaa§ bbbb@ cccc"

Any idea? thanks in advance
Reply With Quote