Hi all
How can I replace 2 known strings separated by an unknown string using a regexp?
For example, I might have
known_string_1 blah_random text blah known string 2
I know I need some sort of wildcard expression between the two known strings in the refexp, but being a regexp nooblet I have no idea what to use. The unknown string in the middle of the two known strings could be any length.
I'm using this to replace some old code with new stuff, but the fact that known blocks are indented with varying tabs doesn't help.
Thanks a lot,
James