You're viewing a comment by Steve Krampach and its responses.
You're viewing a comment by Steve Krampach and its responses.
I am being sponsored by Syntress! They bought me an amazing dedicated server to run catonmat on. If you're looking web services, I highly recommend the Syntress guys!
I am being sponsored by A-Writer! If you ever need help with essay writing, look no further than A-Writer! They will help you with your writing in as quickly as 3 hours!
I love to read science books. They make my day and I get ideas for awesome blog posts, such as Busy Beaver, On Functors, Recursive Regular Expressions and many others.
Take a look at my
Amazon wish list, if you're curious about what I have planned reading next, and want to surprise me. :)
If you are interested in advertising on catonmat.net, contact me.
Free tools for coding on Vietstarsoft.com.
Programming homework help.


I need to substitute
untouched_data untouched_data Data Any Any untouched_data
with
untouched_data Data New New untouched_data
How could that be done?
Let me clarify;
Data will be the item searched for and may appear anywhere in the line
followed by two unknown variables and any amount of following data.
I need to search for "Data" and replace the to next unknown items ("Any")
with two pieces of data specific to "Data"...
ie. Keying off the name "John" for example;
"This is a speech by John M Doe in April"
(Data Any Any = John M Doe)
replacing it with:
"This is a speech by John Quincy Adams in April" (Data New New = John Quincy Adams)
Thank you in advance!
Reply To This Comment