Regular Expressions 101

Sponsors

Library entries

0
java

Business Address | WI | Trademark | USA

s
Submitted by anonymous - 13 hours ago
0
java

carbon

test1
Submitted by anonymous - 15 hours ago
0
pcre2

Storyblok Assets

Match paths for a.storyblok.com
Submitted by anonymous - 3 days ago
0
pcre2

Init code

Init code
Submitted by anonymous - 3 days ago
0
pcre2

semantic-release

Teste semantic release
Submitted by leonardo.mendes - 6 days ago
0
pcre2

myspace

myspace
Submitted by anonymous - 7 days ago

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

Vote

0

Regular Expression
pcre2

/
(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 - 2 months ago