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
Time - 12 hour format
PCRE (PHP <7.3)
matches time in 12 hour format For Eg: 1a 1A 1p 1P...
Submitted by
Pooja Khorjuvekar
-
9 years ago
1
System names
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
d
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
advfirewall localport
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
advfirewall protocol
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
port range
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Thousands separator
PCRE (PHP <7.3)
Separate thousands in a number
Submitted by
anonymous
-
9 years ago
1
IP Validation
PCRE (PHP <7.3)
Validate IP v4
Submitted by
anonymous
-
9 years ago
1
locationID PID4.1 custom
PCRE (PHP <7.3)
MRN add a letter in front
Submitted by
anonymous
-
9 years ago
0
Unicode alphanumeric (any language) with whitespaces
ECMAScript (JavaScript)
Match any alphanumeric string in any language. White spaces are allowed. (Usefull for ECMAScript 5)
Submitted by
Angelos Gkountis
-
9 years ago
-1
Only letters without numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Phone with extension
PCRE (PHP <7.3)
no description available
Submitted by
jerndt
-
9 years ago
2
Remove script tags from code
PCRE (PHP <7.3)
Regular expression to remove only the tags from the code. The regular expression only removes the tags, not the JS code inside the tag.
Submitted by
IvenMS
-
9 years ago
1
delete line numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
extract node values from xml string
PCRE (PHP <7.3)
extract node values from xml string
Submitted by
anonymous
-
9 years ago
1
OFA values
PCRE (PHP <7.3)
either 99-99 or one looks more liek the OFA ones
Submitted by
anonymous
-
9 years ago
1
CSS3 color expressions
PCRE (PHP <7.3)
Up to spec as of 2016-03-16. You can choose whether to enforce industry-standard casing for keywords via the "i" flag, which is enabled by default. Note that both "currentcolor" and "currentColor" are common; the relevant spec uses "currentColor", but several browsers prefer "currentcolor".
Submitted by
Paul Buonopane @ NamePros
-
9 years ago
1
select folders after url
PCRE (PHP <7.3)
no description available
Submitted by
Mauricio Rocha
-
9 years ago
1
somente telefone
PCRE (PHP <7.3)
teste para validação de números de telefone
Submitted by
Mauricio Rocha
-
9 years ago
1
DataPower Syslog
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
720
721
722
723
724
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
\A^
(
(
[
0
-
9
]
{2}
\-
[
0
-
9
]
{2,5}
$
)
\z
)
|
(
PW
(
\-
)?
(
GM1
|
PRA
|
JDC
)?
\-
(
[
0
-
9
]
{0,5}
)
(
[
EFG
]
)?
(
LG
)?
(
[
0
-
9
]
{2,3}
)?
(
[
MF
]
)?
(
\-
)?
(
NOPI
)?
(
PL
)?
(
[
V
]
{0,1}
PI
)?
(
T
)?
(
[
0
-
9
]
{4}
-
[
0
-
9
]
{2}
)?
)?
$
/
Open regex in editor
Description
either 99-99 or one looks more liek the OFA ones
Submitted by
anonymous
-
9 years ago