Regular Expressions 101

Sponsors

Library entries

0
python

Editoria gamecoin

Capturar editorias do site gamecoin
Submitted by anonymous - 6 hours ago
0
pcre2

pythonize beautiful query

pythonize beautiful query
Submitted by anonymous - 7 hours ago
0
javascript

prince first try

im just trying this out
Submitted by prince - 16 hours ago
0
pcre

Parcing2

aa
Submitted by anonymous - a day ago
0
pcre

trim phone number

trim phone number
Submitted by anonymous - a day ago
0
java

Business Address | WI | Trademark | USA

s
Submitted by anonymous - 2 days ago
0
java

carbon

test1
Submitted by anonymous - 2 days ago
3
javascript

YouTubeVideoUrl

YouTubeVideoUrl
Submitted by EdwardKonovalov - 2 days ago
0
golang

log timestamp

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