Forum Moderators: coopster
I'm trying to use lookahead to keep going until a string is found.
Just like [^"]* will keep going until a " is found.
I can't get:
string[^(hi)]*
to work like I want it to.
What I want is for it to match:
asdf string asd salkd . sd.s le h asd i lsdf hi adsa hi
from the "string" to "hi" and not stop at the first "h" or "i" or the last "hi" when using .*
I've tried using the ^?!?= in a ton of combinations with no help.
Help..
Thanks,
Adam