Related to a previous Post. I wanted to add some prefix based on text occurring in a file.
My next piece of the jigsaw - I need to manipulate text a little and have spent a while digging around.
My file now shows: ( the lines will contact differing text - not all the same like im showing )
Denver.Line 1 ExtraText I need this information
Denver.Line 2 ExtraText I need this information
Denver.Line 3 ExtraText I need this information
New York.Line 1 ExtraText I need this information
New York.Line 2 ExtraText I need this information
I need
The place is called Denver.Line 1 and we say "I need this information"!
The place is called Denver.Line 2 and we say 'I need this information'!
The place is called Denver.Line 3 and we say 'I need this information'!
The place is called New York.Line 1 and we say 'I need this information'!
The place is called New York.Line 2 and we say 'I need this information'!
So.. I need to prefix the lines I need to remove " ExtraText " and replace with "and we say'" I need to append each line with "'!"
Thanks in advance to the gurus here.