Regular Expressions 101

Sponsors

Library entries

0
pcre

SickRage

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

Un-titled

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

Nada

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

Post

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

Failure case for repeated strings

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

Get version

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

None

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

sfafagergfwefe323

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

f

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

,,,

,,,
Submitted by ,,, - 8 years ago
0
pcre

rwe

rwerw
Submitted by rwerw - 8 years ago
1
javascript

Submitted by - 8 years ago
1
javascript

Url regex testing

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