Regular Expressions 101

Sponsors

Library entries

0
pcre

Del space

Delete speces at XML
Submitted by E_Ch - 7 years ago
0
pcre

Domain Name Validation

no description available
Submitted by Vinay - 7 years ago
0
pcre

Jade - parse includes

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

why

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

emails

no description available
Submitted by Plamen - 7 years ago
0
pcre

Emails

find emails(emicha@mail.bg)
Submitted by anonymous - 7 years ago
0
python

phone number

no description available
Submitted by Dries Werckx - 7 years ago
0
pcre

Seletor de qualquer texto com espaço

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

kfz

no description available
Submitted by anonymous - 7 years ago
0
python

All Same Number

Check all the numbers are same in a string.
Submitted by DJA - 7 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