Regular Expressions 101

Sponsors

Library entries

1
pcre

Guckst du!

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

foo

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

sort -t "," -k4,4 -k1n,1 file_name

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

Currency Amount

Format: x0.00 Valid: 13.37 4.20 1.00...
Submitted by anonymous - 8 years ago
1
pcre

кааа

ввв
Submitted by в - 8 years ago
0
pcre

Scrape SRC

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

http

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

IPv4

no description available
Submitted by Jorge C. - 8 years ago
3
pcre

youtube id match

youtube id 17 matches
Submitted by Wiliam Castilhos, Ramon Barros - 8 years ago
1
pcre

youtube id watch embed

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

indentation

no description available
Submitted by z - 8 years ago
12
pcre

Match Gmail Email

Match Gmail Email
Submitted by Óscar Enríquez - 8 years ago
1
pcre

Files with numbers greater than 1950

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

asdsa asdsad

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

Fixo LDN CSP e SEM CSP

no description available
Submitted by Marcos Müller - 8 years ago
1
pcre

celular com CSP e SEM CSP

no description available
Submitted by Marcos Müller - 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