Regular Expressions 101

Sponsors

Library entries

5
javascript

password 1upper 1lower 1number 1specialcharater

fjk@1Qaa$
Submitted by Anuswadh - 7 years ago
6
javascript

Password

no description available
Submitted by anonymous - 9 years ago
6
pcre

ID003 device info

no description available
Submitted by sasjaq - 8 years ago
6
pcre

json

{1:aa,2:bb,3:"aa:bb"}
Submitted by suat & umut - 8 years ago
6
pcre

Extract style

no description available
Submitted by anonymous - 7 years ago
6
pcre

Username:Password

Regex For finding username:password
Submitted by Ghost - 7 years ago
6
javascript

Email with + symbol

email that accepts the plus (+) symbol
Submitted by luckcheese - 7 years ago
6
javascript

HTML img

Grabs all HTML tags
Submitted by Pirate11 - 7 years ago

Between tags content

Vote

17

Regular Expression
pcre

/
(?P<group>(?P<starttag><(?P<tagname>p)[^>]*>)(?P<data>.*)(?P<endtag><\/\3>))
/
gm

Description

Loading markdown...
Submitted by Agustín Bouillet - 7 years ago