Regular Expressions 101

Sponsors

Library entries

1
pcre

IP Address

IPv4 Address Input
Submitted by anonymous - 6 years ago
1
pcre

q

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

Trim whitespaces regex

this is trim-like regex
Submitted by Giuseppe Tavella - 6 years ago
1
javascript

^((?!^City$)[a-zA-Z '])+$

no description available
Submitted by anonymous - 6 years ago
1
javascript

Username

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

CI-Bol

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

X user Y response

grep logs with X username and Y response code
Submitted by anonymous - 6 years ago
1
pcre

Reg1

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

Reg2

no description available
Submitted by anonymous - 6 years ago
1
javascript

Shortcode Js

[shortcode attr="data"]
Submitted by khiconit - 6 years ago
0
pcre

Get shortcode

Get shortcode
Submitted by khiconit - 6 years ago
1
pcre

Regex Shortcode

Check shortcode
Submitted by khiconit - 6 years ago

Moscow Phones Pattern

Vote

1

Regular Expression
pcre

/
(?:8|\+7|7)?[-\s\(]*(?<kod>\d{3,4})?[-\s\)]*(?<phone>[\d-]{7,10})(?:[\D]+(?<dob>\d+))?\D*$
/
sgm

Description

Loading markdown...
Submitted by cvvvlad - 6 years ago