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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 17,580 community submitted regex patterns...
1
Valid email regexp in Go
Golang
A regexp to validate an email address according to https://html.spec.whatwg.org/#valid-e-mail-address . Note that the backslash in the name part of the regexp on that site is there to escape the forward slash, which is not needed in Go.
Submitted by
markus@maragu.dk
-
3 years ago
1
regex_prix_DAB_V2
Python
nlp
Submitted by
guif
-
3 years ago
1
Regex Record SSH
PCRE (PHP <7.3)
Regex Record for Data from SSH scripting
Submitted by
anonymous
-
3 years ago
1
Catch Dodgy Steam Links
ECMAScript (JavaScript)
Catch Dodgy steam links Catches most if not all spam links that usually get spread in chat rooms
Submitted by
anonymous
-
3 years ago
1
utf-8 char in imap mail
Golang
Check golang for presence of utf-8 char in rawEmail e.g. ?= =?UTF-8?Q? or =?3D?UTF-8?Q?
Submitted by
oscarunix
-
3 years ago
1
Départements Francais
PCRE2 (PHP >=7.3)
Validation de l'ensemble des 101 départements français, incluant la Haute-Corse et la Corse-du-Sud, chaque département d'outre-mer indépendamment, et 99 pour l'étranger
Submitted by
mioux
-
3 years ago
1
regex_ddc_V3
Python
nlp
Submitted by
guif
-
3 years ago
1
regex_nox_ddc_V3
Python
nlp
Submitted by
guif
-
3 years ago
1
regex_ddc_V4
Python
nlp
Submitted by
guif
-
3 years ago
1
regex_ddc_V5
Python
nlp
Submitted by
guif
-
3 years ago
1
regex_nok_ddc_V5
Python
nlp
Submitted by
guif
-
3 years ago
1
phonebook
PCRE2 (PHP >=7.3)
remove all unwanted character from telephone numbers list
Submitted by
kp
-
3 years ago
1
css attribute validation
Java 8
css attribute validation
Submitted by
arnab
-
3 years ago
1
get zip code
ECMAScript (JavaScript)
this just matches the city credential followed by zipcode e.g: FL 18117
Submitted by
Gabriel Micah
-
3 years ago
1
test
PCRE2 (PHP >=7.3)
test
Submitted by
tf
-
3 years ago
1
Conventional Commit Footer
PCRE (PHP <7.3)
Supports multi line value for git trailers with lookahead for beginning of next git trailer
Submitted by
Christos Cunning
-
3 years ago
1
Match String ( /* 1 */)
ECMAScript (JavaScript)
Matches the comment string from Robo3T exports
Submitted by
anonymous
-
3 years ago
(Last modified 2 years ago)
1
Instagram reel Id
PCRE2 (PHP >=7.3)
get instagram reels id
Submitted by
anonymous
-
3 years ago
1
Signature of UNIFI Protect in SPLUNK for DHCP
PCRE2 (PHP >=7.3)
Pulls the DHCP Command from SPLUNK output
Submitted by
anonymous
-
3 years ago
1
Simple Phone Number validation
PCRE2 (PHP >=7.3)
Default to 8 characters maxInput and minInput 14 characters Regular Expression ^(?![ -])(?!.[- ]$)(?!.[- ]{2})[0-9- ]+$ Allows digits 0-9, and the single white spaces and single hyphens - characters, but restricts the spaces and hyphens at the start, end, and repetitions between the value. Note...
Submitted by
Sowed Castelli
-
3 years ago
(Last modified 3 years ago)
1
...
303
304
305
306
307
...
879
UNC path
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
\\\\
(
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
)
\\
[
-a
-
zA
-
Z_
0
-
9
]
+
\\
)
(?:
[
-a
-
zA
-
Z_
0
-
9
\.
]
+
\\
)*
/
gm
Open regex in editor
Description
Matches a full UNC path, capturing the IP address, share, and full path.
Submitted by
Harvey Nash
-
a year ago