[Solved] RegEx—-What is mean “?!:”? [duplicate]


This is a “Negative Lookahead Assertion”. This code is saying “this regular expression matches only if it begins with /wiki/ and is not followed by a colon”.

Consider reading through https://www.regular-expressions.info and in particular the Lookahead and Lookbehind Zero-Length Assertions.

solved RegEx—-What is mean “?!:”? [duplicate]