Regular Expressions 101

Sponsors

Library entries

0
pcre

exp1

asdf
Submitted by anonymous - 13 hours ago
0
pcre2

T1

Reguljärt uttryck för att matcha T1
Submitted by Jonas Thor - 2 days ago
0
java

Other segment

Other segments
Submitted by Lufram - 3 days ago
0
java

Take segments to string

Take segments to string
Submitted by Lufram - 3 days ago
0
pcre2

URL 2

http https www - ww1 - ww999
Submitted by Andy - 3 days ago
0
pcre2

DwgBatch - Ändra datumformat

Kurs DwgBatch Ändra datumformat
Submitted by Jonas Thor - 4 days ago
0
pcre2

find supertype of

for express
Submitted by anonymous - 6 days ago
0
pcre2

Hardware ID

Checks whether the input is a hardware ID
Submitted by Justman10000 - 6 days ago
0
java

Kyivstar phone number

Kyivstar phone number
Submitted by milka_vlad - 7 days ago
0
pcre2

MD highlight remover

Remove highlights from md files
Submitted by anonymous - 8 days ago
0
pcre2

MD higlighter

Mark words to auto-higlight
Submitted by anonymous - 8 days ago

Capture optional HTML tag attributes in any order

Vote

0

Regular Expression
pcre2

/
<img\s+ (?=[^>]*\balt="(?<alt>[^>]*?)")? # optional alt attribute (?=[^>]*\bclass="(?<class>[^>]*?)")? # optional class attribute (?=[^>]*\bsrc="(?<src>[^>]*?)") # src attribute [^>]*\/>
/
gx

Description

Loading markdown...
Submitted by Patrick Janser - 2 months ago