Regular Expressions 101

Sponsors

Library entries

0
java

Business Address | WI | Trademark | USA

s
Submitted by anonymous - 14 hours ago
0
java

carbon

test1
Submitted by anonymous - 15 hours ago
0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - 16 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
python

Get All inst of Characters Name

Standard Script format tv
Submitted by SummerRay - 4 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