All - I need someone to bring me sanity with a regex I am trying to write.
Essentially I want to capture everything after "username=" up to either "&" or "\s"
Two sample events:
Right now my regex looks like this:
Though I can get it to break on spaces, the regex will not break on "&". Can someone tell me where I'm going wrong, I'm sure it's embarrassingly simple!
You are confusing
character class (which does not need boolean joiners) with string literals (which do need boolean joiners); This should work: