Regular Expressions 101

Sponsors

Library entries

2
pcre

PAN verification regex

Regex to verify PAN in India
Submitted by Anirban - 8 years ago
15
javascript

Hashtag

The secret of the Twitterverse.
Submitted by Joogl - 8 years ago
1
pcre

Test

test
Submitted by royskatt - 8 years ago
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 - 9 years ago
1
pcre

testmmoj

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