Regular Expressions 101

Community Patterns

afsd

1

Regular Expression
PCRE (PHP <7.3)

/
^((?:(?:[^?+*{}()[\]\\|]+|\\.|\[(?:\^?\\.|\^[^\\]|[^\\^])(?:[^\]\\]+|\\.)*\]|\((?:\?[:=!]|\?<[=!]|\?>)?(?1)??\)|\(\?(?:R|[+-]?\d+)\))(?:(?:[?+*]|\{\d+(?:,\d*)?\})[?+]?)?|\|)*)$
/

Description

Loading markdown...
Submitted by anonymous - 9 years ago