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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 6,040 community submitted regex patterns...
0
homework4
PCRE2 (PHP >=7.3)
homework 4
Submitted by
Eric Neuwirth
-
2 years ago
0
Server regex for getting directory and template name from url
PCRE2 (PHP >=7.3)
Later.
Submitted by
anonymous
-
2 years ago
0
XML Parsing for IE<9
ECMAScript (JavaScript)
All my marbles are gone.
Submitted by
Odd Stråbø
-
2 years ago
(Last modified 2 years ago)
0
Regex101
ECMAScript (JavaScript)
To submit my account
Submitted by
anonymous
-
2 years ago
0
Inserting *
ECMAScript (JavaScript)
REGEX from Formal Lang for inserting * from implicit multiplication
Submitted by
anonymous
-
2 years ago
0
Match only capital letters with optional underscore in between
PCRE2 (PHP >=7.3)
HelloWorld -- NOT match HELLO_WORLD_ -- NOT match _HELLO_WORLD -- NOT match HELLO__WORLD -- match ]; -- NOT match RAGGA_DAFDASDA -- match...
Submitted by
anonymous
-
2 years ago
0
regex 1
PCRE2 (PHP >=7.3)
search api with category and subcategory
Submitted by
anonymous
-
2 years ago
0
Bhumi
PCRE2 (PHP >=7.3)
Submitted by
Ewallet
-
2 years ago
0
German Bible veses
ECMAScript (JavaScript)
A regex that captures the common Bible books, chapter, and verses for the German language.
Submitted by
Sergio Santos
-
2 years ago
(Last modified 2 years ago)
0
hbase offline state regex
PCRE2 (PHP >=7.3)
CVP
Submitted by
Diego
-
2 years ago
0
Separate First Vowel
ECMAScript (JavaScript)
Separator for a vowel start string
Submitted by
FerreiraR
-
2 years ago
0
Test MGNT
PCRE2 (PHP >=7.3)
just a test
Submitted by
dang
-
2 years ago
0
Diskusija
ECMAScript (JavaScript)
ss
Submitted by
LiunuxMan
-
2 years ago
0
Email
PCRE2 (PHP >=7.3)
Email Validator
Submitted by
anonymous
-
2 years ago
0
Simple Address Validation
ECMAScript (JavaScript)
This tries to validate the address in English-compliant formats. Note: Not tested for script languages Arabic. const regExp = /^(?![ -.&,'":?!/])(?!.[- &'":]$)(?!.[-.#@&,:?!/]{2})[a-zA-Z0-9- .#@&,_'":.?!/]+$/; `
Submitted by
Sowed Castelli
-
2 years ago
0
Match user defined date format
PCRE2 (PHP >=7.3)
Only matches, when date is in brackets. Allows for KW/CW or Q or normal date. Delimiters are '.' & '-'; Does not work for years < 2000 and does not validate for correct month- or day-values (except quarter).
Submitted by
MjSt
-
2 years ago
0
National Highways - Strategic Road Network - Geographic Addresses
PCRE2 (PHP >=7.3)
A mechanism to validate the entry of the National Highways Geographic Locations
Submitted by
anonymous
-
2 years ago
0
Latitude
PCRE2 (PHP >=7.3)
definition of latitude in the format DD MM.mmm within the range "48 00.000" to "61 59.999"
Submitted by
anonymous
-
2 years ago
0
Longitude
PCRE2 (PHP >=7.3)
A definition of Longitude in the format DD MM.mmm within the range "-10 59.999" to "2 59.999"
Submitted by
anonymous
-
2 years ago
0
整数或小数
PCRE2 (PHP >=7.3)
整数或小数
Submitted by
anonymous
-
2 years ago
1
...
225
226
227
228
229
...
302
Phone Number
0
Regular Expression
ECMAScript (JavaScript)
/
[
\+\(
]
{0,2}
\d
{1,4}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
/
g
Open regex in editor
Description
For phone numbers with country code(Optional)followed by 10 digit phone number.
Submitted by
Kshama
-
8 years ago