Regular Expressions 101

Sponsors

Library entries

1
pcre

input mandatory title

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

webongo

webongo test
Submitted by webongo - 8 years ago
1
pcre

search mailadress

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

valid windows file name

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

get all href=()

no description available
Submitted by artyom lisovskij - 8 years ago
1
pcre

testmmoj

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

eee

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