Regular Expressions 101

Library entries

0
python

Apache Log Format Parser

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

Format money

no description available
Submitted by Jamie robertson - 7 years ago
0
pcre

Date with format YYYY-MM-DD

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

detect if input is valid domain name

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

Phone with extension

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

get section

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

http://www.budportal.com.ua/

asd
Submitted by asd - 7 years ago
0
pcre

MATLAB filename with brackets

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

Json value

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

Http_accept Header

no description available
Submitted by Robin Dumont-Chaponet - 7 years ago
0
pcre

Del space

Delete speces at XML
Submitted by E_Ch - 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