Regular Expressions 101

Sponsors

Library entries

0
pcre

trim phone number

trim phone number
Submitted by anonymous - 7 hours ago
3
javascript

YouTubeVideoUrl

YouTubeVideoUrl
Submitted by EdwardKonovalov - a day ago
0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - a day ago
0
javascript

SRD TEST Internal

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

Storyblok Assets

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

Storyblok Img2

Parse img2.storyblok.com URLs
Submitted by anonymous - 3 days ago
0
javascript

Shashi test

Shashi
Submitted by anonymous - 4 days ago
0
pcre2

Init code

Init code
Submitted by anonymous - 4 days ago

Only if before

Vote

1

Regular Expression
pcre

/
^(?:(?!\bbag\b).)*\bred\b.+?\bbag\b
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 months ago