Regular Expressions 101

Community Patterns

0

Kumpulan regex

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

Discord Invite Regexp

PCRE2 (PHP >=7.3)
a
Submitted by MinerPL - a year ago
0

OGSP-102503

PCRE2 (PHP >=7.3)
customer regex
Submitted by anonymous - a year ago

Matches ISBN-10 or ISBN-13 in any text (separator can be space or -)

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(ISBN(?:[- ]*1[03])?:* )+?((?=[0-9X]{10}$|(?=(?:[0-9]+[- ]){3})[- 0-9X]{13}|97[89][0-9]{10}|(?=(?:[0-9]+[- ]){4})[- 0-9]{17})(?:97[89][- ]?)?[0-9]{1,5}[- ]?[0-9]+[- ]?[0-9]+[- ]?[0-9X])
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago