Regular Expressions 101

Expression that does not include a subexpression

Open Workspace
  • PCRE (Legacy)
  • Match
-2

Regular Expression

/
^((?!-([ABC])(\d{3})).)*$
/
gm

Description

Pattern that matches all expression that not include a subexpression. The subexpression could be replaced by a string.

Submitted by aquintas