Regular Expressions 101

Sponsors

Library entries

0
pcre2

quote

quote text
Submitted by anonymous - 8 hours ago
0
pcre2

HTML TAG Match

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

CSV quotation mark

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

Nom avant domaine

sdfsdfsdfsdf
Submitted by sdfsfsdfsdf - 14 hours 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

IP/MASK or IP/CIDR (accept 5.5.5.0/255.255.255.0 and 5.5.5.0/24)

Vote

0

Regular Expression
javascript

/
^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/((((([0-9])|(?:[1-2][0-9])|(?:3[0-2]))|(([1-9]?\\d|1\\d\\d|25[0-5]|2[0-4]\\d)\.){3}([1-9]?\\d|1\\d\\d|25[0-5]|2[0-4]\\d)(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])))|(((255\.){3}(255|254|252|248|240|224|192|128|0+))|((255\.){2}(255|254|252|248|240|224|192|128|0+)\.0)|((255\.)(255|254|252|248|240|224|192|128|0+)(\.0+){2})|((255|254|252|248|240|224|192|128|0+)(\.0+){3})))$
/
mg

Description

Loading markdown...
Submitted by anonymous - 2 years ago