Regular Expressions 101

Sponsors

Library entries

0
java

java-test1

java test string
Submitted by anonymous - 3 hours ago
0
pcre2

quote

quote text
Submitted by anonymous - 16 hours ago
0
pcre2

HTML TAG Match

Match a html tag.
Submitted by Fernando Gaston Olivera Alaniz - 19 hours ago
1
pcre2

CSV quotation mark

See quotes that are not delimiters
Submitted by anonymous - 19 hours ago
0
pcre2

Nom avant domaine

sdfsdfsdfsdf
Submitted by sdfsfsdfsdf - a day ago
0
pcre2

Validate email

Regex for email validation
Submitted by anonymous - a day ago
0
javascript

finding video names

Should find any video names
Submitted by anonymous - 2 days ago
0
pcre2

Check WP Admin URLs

Check WP admin pages that are indexed
Submitted by anonymous - 2 days ago

A complete recognition of HTML elements pattern.

Vote

0

Regular Expression
javascript

/
([\n ]*((<((([a-zA-Z]+)( +(\w|\w+-+\w*)+ *= *(( *(\w|\w+-+\w*)+ *)|((") *.+ *("))|((') *.+ *('))|(\\" *.+ *\\")|(\\' *.+ *\\')))* *((\/)|(>([ \n]|.)*<\/[a-zA-Z]+)))|(!--([ \n]|.)*--))>)([\n ]*<((([a-zA-Z]+)( +(\w|\w+-+\w*)+ *= *(( *(\w|\w+-+\w*)+ *)|((") *.+ *("))|((') *.+ *('))|(\\" *.+ *\\")|(\\' *.+ *\\')))* *((\/)|(>([ \n]|.)*<\/[a-zA-Z]+)))|(!--([ \n]|.)*--))>)*)[\n ]*$)
/
gy

Description

Loading markdown...
Submitted by Rafael Laurindo - 5 years ago