Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,040 community submitted regex patterns...
1
perl {if condition} {else} {/if}
PCRE (PHP <7.3)
no description available
Submitted by
Z
-
9 years ago
0
US Telephone number
ECMAScript (JavaScript)
Regex for validating us telephone number as per freecodecamp testcases-
Submitted by
Yashdeep Hinge
-
9 years ago
1
lua
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
aaa
PCRE (PHP <7.3)
aaa
Submitted by
aa
-
9 years ago
1
gps 103
ECMAScript (JavaScript)
gps103 gprs communication
Submitted by
anonymous
-
9 years ago
2
extract hostname
PCRE (PHP <7.3)
extracts hostname from url
Submitted by
Kristine Poghosyan
-
9 years ago
1
Can't be numeric only
ECMAScript (JavaScript)
It could be alphanumeric but should not be numeric only
Submitted by
anonymous
-
9 years ago
1
Credit Card Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
ICD-10-CD Diagnosis Code
PCRE (PHP <7.3)
ICD-10-CM Diagnosis Code per https://www.cms.gov/Medicare/Coding/ICD10/downloads/ICD-10Overview.pdf
Submitted by
Cloud Cray
-
9 years ago
1
Zipball Version Substitution
PCRE (PHP <7.3)
no description available
Submitted by
Vivalldi
-
9 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
14
RFC3339 DateTime
Recommended
PCRE (PHP <7.3)
Validates a RFC3339 DateTime format. Does not validates the Data
Submitted by
anonymous
-
9 years ago
1
ABAP email checker
PCRE (PHP <7.3)
ABAP tested email regex checker
Submitted by
lol
-
9 years ago
1
City and POstcode
PCRE (PHP <7.3)
Get city and postcode on the address string like input: 1 Amotherby Ln Amotherby Malton NORTH YORKSHIRE YO17 6TG UK output: NORTH YORKSHIRE YO17 6TG
Submitted by
Michael Ramirez
-
9 years ago
1
Regex mail
PCRE (PHP <7.3)
Validatore php mail
Submitted by
anonymous
-
9 years ago
2
Email Cleanup
PCRE (PHP <7.3)
Working on email link cleanup.
Submitted by
anonymous
-
9 years ago
1
UK Postal Code
ECMAScript (JavaScript)
Match UK Postal Code
Submitted by
Michael R
-
9 years ago
1
Commify
PCRE (PHP <7.3)
Add commas to numbers
Submitted by
Allen Ng
-
9 years ago
0
allow Cyrillic and latin alphabets, no special charcters
ECMAScript (JavaScript)
allows email, text and numbers in latin and cyrillic alaphbets.but prevents special charcters: Hello, example@mail.com Меня зовут Боб
Submitted by
Kez
-
9 years ago
1
demo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
736
737
738
739
740
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
ssh:
\/\/
(?:
(
[
a
-
z_
]
[
a
-
z0
-
9_
]
{0,30}
)
@
)?
(
(?:
[
a
-
z0
-
9-_
]
+
\.
)+
[
a
-
z0
-
9
]
+
)
(?:
:
(
[
0
-
9
]
{0,5}
)
)?
(
\/
[^
\0\n
]
+
)?
/
i
Open regex in editor
Description
no description available
Submitted by
lem
-
9 years ago