Regular Expressions 101

Sponsors

Library entries

0
pcre2

Picking 2nd 1st Line

Picking 2nd 1st Line
Submitted by Picking 2nd 1st Line - 12 days ago
0
pcre2

Picking 1st Line

Picking 1st Line
Submitted by Picking 1st Line - 12 days ago
0
pcre2

City State Zip

City State Zip
Submitted by anonymous - 12 days ago
1
pcre2

ticker but not EFS

ticker but not EFS
Submitted by anonymous - 12 days ago

Repeated words (JS)

Vote

4

Regular Expression
javascript

/
([\W\S]\s[\w\W]{2}.+),\s(.+)\1([!?.])
/
gmi

Description

Loading markdown...
Submitted by paconaranjo - 8 years ago