Regular Expressions 101

Sponsors

Library entries

0
python

apdl flst

apdl flst
Submitted by anonymous - 8 hours ago
0
pcre2

MySQL DATETIME

MySQL DATETIME
Submitted by anonymous - a day ago
0
pcre2

Split Http(s) Response

Split Http(s) Response
Submitted by anonymous - 2 days ago
0
pcre2

Vivaldi

Vivaldi
Submitted by anonymous - 3 days ago
0
python

ipv4 addresses

Valid ip addreses
Submitted by anonymous - 4 days ago
0
javascript

Matches filenames in urls

Filenames in urls
Submitted by anonymous - 5 days ago

get all title value && all the text in <a/>

Vote

1

Regular Expression
pcre

/
(?=<[^<]*[\s]+title="([^"]*)")|<\s*a\s+[^<]*>([^<]*)([^<]*)
/
g

Description

Loading markdown...
Submitted by Kerosene - 9 years ago