I have a bunch of 4XX status codes and I want to match all except 400 and 411.
What I currently have so far:
/4\d{2}(?!400|411)/g
Which according to regexer:
- Matches a 4XX
- Should specify a group that cannot match after the main expression (but it is here where my expression is failing).