Hi all, I’ve been killing myself for the last 3 hours trying to figure out why this isn’t working.
I’m trying to get stuff in between “]” and “[“
The regex is
[CODE]/(?<=(]))*(?=([))/
and the subject is “[url=”http”]Hello
It’s supposed to get “Hello”, but instead I get this error: Warning: preg_match_all() [function.preg-match-all]: Compilation failed: nothing to repeat at offset 9
I can’t figure out what the problem is. Searching this forum it seems like Preg doesn’t like a certain character, but which one?
thanks for any help!