Regular Expressions 101

Sponsors

Library entries

1
pcre

bsah_7

no description available
Submitted by anonymous - 8 years ago
1
pcre

no 666

no description available
Submitted by anonymous - 8 years ago
1
pcre

cvdfd

no description available
Submitted by anonymous - 8 years ago
2
pcre

PO Box Address Validation

no description available
Submitted by mrferos - 8 years ago
-2
pcre

regex101

no description available
Submitted by anonymous - 8 years ago
0
pcre

URLs

split URL in 2 parts
Submitted by A.L - 8 years ago
1
pcre

LGC regex

FIX
Submitted by anonymous - 8 years ago
1
pcre

LGC regex

no description available
Submitted by anonymous - 8 years ago
1
pcre

Subquery

no description available
Submitted by anonymous - 8 years ago
0
pcre

Find color

no description available
Submitted by anonymous - 8 years ago
1
pcre

test

no description available
Submitted by anonymous - 8 years ago

Find html tag opening for tag with specific class.

Vote

-1

Regular Expression
pcre

/
^(?:(?<!\/\/|\/\*|<!--).)* #check if commented out <[a-z][a-z0-9]*?\b #find start of a tag (?:.(?![^?]>))+ #Must not find > between start and class unless ?> class=(["']) #Find class and opening quotes (?:(?!\1).)* \bmatch\b (?:(?!\1).)* #see if our tag is in between the quotes \1 #closing quotes .*(?<!\?)> #find first > without ? in front of it
/
gmUix

Description

Loading markdown...
Submitted by Stack overflow Superspy - 8 years ago