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
Macro Opcional TPSQL
PCRE (PHP <7.3)
no description available
Submitted by
Theodozio
-
8 years ago
1
Email address validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Log
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Regex URLs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Extract name and subdomain from a domain name
PCRE (PHP <7.3)
takes www.yourdomain.com and return and array of three parts www yourdomain.com yourdomain in javascript I use it like this:...
Submitted by
Quincy Acklen
-
8 years ago
1
pATH vALIDATION
PCRE (PHP <7.3)
EBS/FSW/VehISp/VehISp_generic/TCY/Src/tcy_main.c
Submitted by
anonymous
-
8 years ago
1
catch string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
test
PCRE (PHP <7.3)
test
Submitted by
anonymous
-
8 years ago
1
Email
PCRE (PHP <7.3)
Email WIP
Submitted by
Aliteam
-
8 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
e
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
test2
PCRE (PHP <7.3)
by sachin
Submitted by
me
-
8 years ago
1
privite_ip
PCRE (PHP <7.3)
filter privite ip from sting
Submitted by
harrison zhu
-
8 years ago
1
UK Student UPN Validation
PCRE (PHP <7.3)
Performs basic validation of a UK school student UPN. NOTE: this is not a guarantee that the UPN is valid, as further calculations must be done to verify the control character at the start of the UPN. See the official guidance for more details: https://www.gov.uk/government/publications/unique-pupi...
Submitted by
GeekJosh
-
8 years ago
1
Sonus
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
greetings with all adj regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Lines which have not an exact nr of entries separated by 1 Space
Python
In the example i search for all lines which have less or more than 5 spaces as seperator. modify the valid nr of spaces: there are 3 (of 4) arbitrary groups wich have an specified nr of copies of an regEx in it: in the example the valid nr of entires is 5 : -> that means 4 spaces are valid in-bet...
Submitted by
Mike
-
8 years ago
1
dutch + danish + icelandic greeings
Python
no description available
Submitted by
anonymous
-
8 years ago
1
foreign email closers
Python
no description available
Submitted by
anonymous
-
8 years ago
1
auto generated closers
Python
no description available
Submitted by
anonymous
-
8 years ago
1
...
742
743
744
745
746
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
spark:
\/\/
(?P<host>
\w
+
.
*
?
)
:
(?P<port>
\w
+
)
|
local
(
\[
(
[
\d
+)|
\*
]
)
(
,
\s
*
\d
+
)?
\]
)?
)
\s
*
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago