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 13,020 community submitted regex patterns...
1
Regex for chatbot to match & extract multiple command
ECMAScript (JavaScript)
Example: "/lowercase HELLO .:uppercase ::weather london" Match #1 prefix: / command: lowercase arguments: HELLO...
Submitted by
CietstHydroxide
-
3 years ago
1
Matching upto 255 number range
PCRE (PHP <7.3)
this is for matching integers from 0 to 255
Submitted by
anonymous
-
3 years ago
1
Simple AWS ARN Regex
ECMAScript (JavaScript)
Simple AWS ARN Regex
Submitted by
anonymous
-
3 years ago
1
Codice fiscale italiano
PCRE (PHP <7.3)
Regex completa per il CF. Controllo anche i casi di omocodia.
Submitted by
Virtualdummy
-
3 years ago
1
Greater manchester postcode validation
ECMAScript (JavaScript)
🤯
Submitted by
donivanes
-
3 years ago
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 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
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
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
Simple TIN number regex
PCRE (PHP <7.3)
Only accept numerics/digits and hyphens, forbidding them at the start and the end of the number, and avoid two consecutive occurrences. Assuming the app validates the length.
Submitted by
Sowed Castelli
-
3 years ago
(Last modified 10 months ago)
1
Simple person name verification
ECMAScript (JavaScript)
Regular Expression ^[a-zA-Z ]{2,50}$ Allow only letters a-z and space between each character to support multi-word single names. Prone to errors in repeated spaces, to be cleanup by the app....
Submitted by
Sowed Castelli
-
3 years ago
(Last modified 3 years ago)
1
Simple title validation
ECMAScript (JavaScript)
Used to validate entries like Address names and cities, streets. Allows any of the following characters -.#@&,:?!]{2})[a-zA-Z0-9- .#@&,_'":.?! Prohibits these characters from begining a sentence -.&,_'":?! Prohibits these characters from ending a sentence - &_'":
Submitted by
Sowed castelli
-
3 years ago
1
Extract group of key from hash structure string
PCRE (PHP <7.3)
Extract group of key from hash structure string
Submitted by
Prabin Silwal
-
3 years ago
1
Alien username
ECMAScript (JavaScript)
Input Format The first line contains a single integer, , denoting the number of usernames. Each line of the subsequent lines contains a string denoting an alien username to validate. Constraints...
Submitted by
anonymous
-
3 years ago
1
Color RegEx
ECMAScript (JavaScript)
Color RegEx
Submitted by
Xaliks
-
3 years ago
1
Zeitnahme
ECMAScript (JavaScript)
Parses "Zeitnahme" text files
Submitted by
anonymous
-
3 years ago
1
...
599
600
601
602
603
...
651
Greater manchester postcode validation
1
Regular Expression
ECMAScript (JavaScript)
/
^
(
(
BL
[
0
-
9
]
{1,2}
)
|
(
(
BL
[
0
-
9
]
[
A
-
Z
]
)
|
(
(
M
[
0
-
9
]
{1,2}
)
|
((
M
[
0
-
9
]
[
A
-
Z
]
)|
((
OL
[
0
-
9
]
{1,2}
)|
((
OL
[
0
-
9
]
[
A
-
Z
]
)|
((
SK
[
0
-
9
]
{1,2}
)|
((
SK
[
0
-
9
]
[
A
-
Z
]
)|
((
WA
[
0
-
9
]
{1,2}
)|
((
WA
[
0
-
9
]
[
A
-
Z
]
)|
((
WN
[
0
-
9
]
{1,2}
|
((
WN
[
0
-
9
]
[
A
-
Z
]
)))))))))))
)
)
)
[
0
-
9
]
[
A
-
Z
]
{2}
$
/
gm
Open regex in editor
Description
🤯
Submitted by
donivanes
-
3 years ago