Regular Expressions 101

Sponsors

Library entries

1
pcre

regular expression - with space

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

test url

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

1

23123
Submitted by anonymous - 8 years ago
2
pcre

Match subset

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

RegEx within tags

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

Version in Cordova config.xml

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

match text between two <br/> tags.

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

Match a date in SQL Server format

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

Remove /* comments */ from CSS

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

tesdsa

dsadsadsadsa
Submitted by dasdasdsa - 8 years ago
1
pcre

HTML color search

Searches for hex colors in HTML code.
Submitted by Barlean - 8 years ago
2
pcre

named group sample

no description available
Submitted by anonymous - 8 years ago

Phone numbers matcher

Vote

1

Regular Expression
pcre

/
^ # begin \s*# some empty spaces (?: \+? # + symbol \d{1,2} # country code \s* (?(?=\)) # if followed by parens | # then dash not allowed -? # else optional dash ) )? #prefix like +380 \s* (?: (?P<leftparen>\()? # optional left paren \s* 0\d\d \s* (?(leftparen)\)|) # right paren if and only if left paren )? # operator code, starting with 0, optinally in parentheses (?(?<=\)) # if preceded by parens \s*| # then dash not allowed \s*-?\s* # else optional dash ) (?: \d | (?<= \d ) (?(sep) (?P=sep)| (?P<sep>[\-\/\ ]) ) (?= \d ) ){5,13} \s*# some empty spaces $ # end #\d\d\d (?P<separator>-?) \d\d (?P=separator) \d\d $
/
mgx

Description

Loading markdown...
Submitted by Oleksandr Sochka - 9 years ago