I've done a ton of searching but I think it's just over my head. I can't figure out what I should be doing to parse this text.
Lets say I have the strings: case 1: "hi! hello, how are you doing today" case 2: "hi! hello, how are you today" case 3: "hi! hello, doing you today" case 4: "hi! hello, how are you doing today blah"
If I wanted to match where theres any text, then "hello" then any text (but not ", doing" and ends with "today", how would that be done?
On http://www.regexpal.com/ I'm using (hello)((?!, doing).*) which will not select case 3, but will select case 2 and 4, when I want it to only select case 1. Any thoughts?