Regular Expressions 101

Community Patterns

0

Pan Number

PCRE2 (PHP >=7.3)
Pan Number
Submitted by anonymous - a year ago
0

GSTN

PCRE2 (PHP >=7.3)
Goods & Service Tax Numebr
Submitted by anonymous - a year ago
0

Money format

PCRE2 (PHP >=7.3)
Any money format
Submitted by anonymous - a year ago

JSON validator

2

Regular Expression
PCRE (PHP <7.3)

/
(?<o>{((?<s>\"([^\0-\x1F\"\\]|\\[\"\\\/bfnrt]|\\u[0-9a-fA-F]{4})*\"):(?<v>\g<s>|(?<n>-?(0|[1-9]\d*)(.\d+)?([eE][+-]?\d+)?)|\g<o>|\g<a>|true|false|null))?\s*((?<c>,\s*)\g<s>(?<d>:\s*)\g<v>)*})|(?<a>\[\g<v>?(\g<c>\g<v>)*\])
/

Description

Loading markdown...
Submitted by luis140219 on GitHub and Sourceforge - 8 years ago