Regex: what does (?! ...) mean?

Viewed 13134

The following regex finds text between substrings FTW and ODP.

/FTW(((?!FTW|ODP).)+)ODP+/

What does the (?!...) do?

6 Answers
Related