Regular Expressions 101

Sponsors

Library entries

0
pcre2

Match between two strings

(?<=This is)(.*)(?=sentence)
Submitted by anonymous - 21 minutes ago
0
pcre2

wiki

wiki parser
Submitted by anonymous - 10 hours ago
0
pcre2

pythonize beautiful query

pythonize beautiful query
Submitted by anonymous - a day ago
0
javascript

prince first try

im just trying this out
Submitted by prince - a day ago
4
javascript

YouTubeVideoUrl

YouTubeVideoUrl
Submitted by EdwardKonovalov - 3 days ago
0
golang

log timestamp

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

SRD TEST Internal

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

Storyblok Assets

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

Storyblok Img2

Parse img2.storyblok.com URLs
Submitted by anonymous - 5 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