Regular Expressions 101

Sponsors

Library entries

1
pcre

codegolf.SE cops&robbers histocrat#2

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

Test for Ross

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

Movies title extractor

Extract the title from a movie file
Submitted by dshinigami - 8 years ago
1
pcre

unity3d.com csharp lint regex

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

ewqewq

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

Find All Python imports

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

PAN verification regex

Regex to verify PAN in India
Submitted by Anirban - 8 years ago
1
pcre

Test

test
Submitted by royskatt - 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