I'm having a little trouble coming up with a regex for my particular situation. This is what I have.
"#<call:(\d+)>(?:(?!\/MM).)+?(\s+)?(?=\<)#ims"
I need to match the following example.
<call:5>anything <
But I don't want to match this...
<call:5>anything/mm <
That's working ok, but the problem is that it won't match this...
<call:5>anything/mmm <
I need the regex to match anything
provided anything
does not end with /mm
. I know it's going to be something small I'm overlooking, but could you point out what I'm doing wrong please?