Regular Expressions 101

Sponsors

Library entries

0
pcre

Parcing2

aa
Submitted by anonymous - 4 days ago
0
pcre

trim phone number

trim phone number
Submitted by anonymous - 4 days ago
0
java

Business Address | WI | Trademark | USA

s
Submitted by anonymous - 5 days ago
0
java

carbon

test1
Submitted by anonymous - 5 days ago
4
javascript

YouTubeVideoUrl

YouTubeVideoUrl
Submitted by EdwardKonovalov - 5 days ago
0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - 5 days ago
0
javascript

SRD TEST Internal

Test guts to gather Stat and amount
Submitted by anonymous - 7 days ago
0
pcre2

Storyblok Assets

Match paths for a.storyblok.com
Submitted by anonymous - 7 days ago
0
javascript

Storyblok Img2

Parse img2.storyblok.com URLs
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