Regular Expressions 101

@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
Whats new?

Library entries

0
pcre2
Submitted by Suraj Shah - an hour ago

Youtube Regex

Regex for youtube pattern
0
pcre2
Submitted by anonymous - 16 hours ago

Regix xinj xof

Bebebe
0
pcre2
Submitted by yimao - a day ago

KUN task name tempalte

Quick template to name a KUN task
0
python
Submitted by guif - 2 days ago

regex_restauration_V3

regex
0
python
Submitted by guif - 2 days ago

REGEX_SAUF_RESTAURATION_V1

regex
0
javascript
Submitted by anonymous - 2 days ago

fopen

asdf
0
pcre2
Submitted by Vipul Jha - 2 days ago

Indian Pincode

Indian area Pincode regex
0
pcre2
Submitted by PrimeTime416 - 2 days ago

HTML Table Parse

The pulls in and groups all HTML tables.
1
javascript
Submitted by donivanes - 3 days ago

Greater manchester postcode validation

🤯
0
javascript
Submitted by anonymous - 3 days ago

match

ádf
0
python
Submitted by guif - 4 days ago

regex_restauratio_Vé

regex
0
python
Submitted by guif - 4 days ago

regex_restauration

regex
0
pcre2
Submitted by fl0 - 4 days ago

parse/replace closed tag

parse and replace a {tag}..{/tag} or {tag}

Regex to replace SRC to DATA-SRC when class attribute contains lazy text

Vote

0

Regular Expression
pcre2

/
<img src=([a-zA-Z0-9_\-\s\.\"=\/:%,()]*class=\"[a-zA-Z0-9_\-\s\.\"=\/:%,()]*lazy[a-zA-Z0-9_\-\s\.\"=\/:%,()]*)
/
gm

Description

Loading markdown...
Submitted by Suman Maharjan - a month ago