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...
0
Removal of Non Word Characters
ECMAScript (JavaScript)
An example of a regex to use when wanting to remove special characters from a string
Submitted by
anonymous
-
8 years ago
0
PLTF-1537 Validating Numbers to regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Parse JSON Date
PCRE (PHP <7.3)
Easiest Way to Use: $datetime = new DateTime(); $datetime->setTimestamp($timestamp); $datetime->modify($operator . $hours . ' seconds');
Submitted by
anonymous
-
8 years ago
0
PLTF-1537 Validating Numbers to regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Phone numbers
PCRE (PHP <7.3)
Easy US phone numbers
Submitted by
anonymous
-
8 years ago
0
NZ Phone Number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Validate URLs
PCRE (PHP <7.3)
no description available
Submitted by
me
-
8 years ago
0
Html tags with numbers inside
PCRE (PHP <7.3)
no description available
Submitted by
apiyron
-
8 years ago
0
Build KB Call, #1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
lint nested
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Clavister FW CONN
PCRE (PHP <7.3)
Parses out Clavister FW logs for SIEM mapping
Submitted by
anonymous
-
8 years ago
0
div to other elements
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
get file name from file path
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
OfficeStuff
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Referencia
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Italian geographic directory number
PCRE (PHP <7.3)
Useful to discriminate italian geographic numbers from non geographic. Regex validates also the length (in digits) of the directory number Regex considers italian country code and + sign. Italian numbers are considered geographic when are prefixed with 0. Italian prefixes length is 2-4 digits lo...
Submitted by
Stefano Coletta
-
8 years ago
0
Regex for MAC address
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Regex for MAC address with unit tests
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
JSON object key matcher
ECMAScript (JavaScript)
Matches JSON object keys
Submitted by
Ariel Schiavoni
-
8 years ago
0
URI slug with optional slashes and query string
PCRE (PHP <7.3)
Validates a URI slug. Must: Contain lowercase alphanumeric character(s) separated with a single dash. Optionally allows:...
Submitted by
Quentin McRee
-
8 years ago
1
...
420
421
422
423
424
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
[
1
-
478
]
[
0
-
9
]
{2}
(
0
[
1
-
9
]
|
1
[
0
-
2
]
|
62
|
63
)
(
2
[
ABab
]
|
[
0
-
9
]
{2}
)
(
00
[
1
-
9
]
|
0
[
1
-
9
]
[
0
-
9
]
|
[
1
-
8
]
[
0
-
9
]
{2}
|
9
[
0
-
8
]
[
0
-
9
]
|
990
)
(
00
[
1
-
9
]
|
0
[
1
-
9
]
[
0
-
9
]
|
[
1
-
9
]
[
0
-
9
]
{2}
)
(
0
[
1
-
9
]
|
[
1
-
8
]
[
0
-
9
]
|
9
[
0
-
7
]
)
$
/
g
Open regex in editor
Description
REGEX for NIR
https://fr.wikipedia.org/wiki/Num%C3%A9ro_de_s%C3%A9curit%C3%A9_sociale_en_France
Submitted by
anonymous
-
8 years ago