Regular Expressions 101

Sponsors

Library entries

1
pcre

Number betwen:1 1.5 2 2.5

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

MySql Definer

For find definer in mysql routines
Submitted by Jorge Espinoza - 8 years ago
2
pcre

donotbackup

finding directories w/ donotbackup
Submitted by anonymous - 8 years ago
1
pcre

Date range match

This is not my creation, it is from a github repor
Submitted by Saji N - 8 years ago
0
pcre

soap envelope regexp

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

test123

no description available
Submitted by anonymous - 8 years ago
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
pcre

Get version

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

None

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

,,,

,,,
Submitted by ,,, - 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