Assertions
Positive Lookahead

o(?=oo)
Negative Lookahead

(.)(?!\1)+
Positive Lookbehind
JavaScript do not support lookbehind.

(?<=[13579])\d
Negative Lookbehind
JavaScript do not support lookbehind.

(?<![aeiouAEIOU]).
Last updated
Was this helpful?