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
Person NAME verification
PCRE2 (PHP >=7.3)
Regular Expression ^[a-zA-Z ]{2,30}$ Allow only letters and space between each characters to support for multi word single name. Only accepts english letter characters.
Submitted by
Sowed Castelli
-
4 years 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
-
4 years ago
(Last modified 4 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
-
4 years ago
1
學位英文簡稱
PCRE2 (PHP >=7.3)
按照縮寫慣例 A.A.A A.A.A. A.A. A.A.A./A.A.A. ...
Submitted by
stone
-
4 years ago
1
UK fixed and mobile phones
PCRE2 (PHP >=7.3)
Will match all fixed and mobile phone numbers with 9 or 10 digit NSN Resource used: https://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom
Submitted by
Octav
-
4 years ago
1
email-tec
PCRE2 (PHP >=7.3)
mesa
Submitted by
anonymous
-
4 years ago
1
Book of Jude
PCRE2 (PHP >=7.3)
Searches for expressions containing biblically accurate references for the book of Jude.
Submitted by
anonymous
-
4 years ago
1
entrance_fee (test apostrophe)
Python
bla
Submitted by
guib
-
4 years ago
1
Pokemon Go Discord - friend codes
PCRE2 (PHP >=7.3)
A regex to parse codes from a discord server
Submitted by
EagleBirdman
-
4 years ago
(Last modified 4 years ago)
1
find pattern in filename product name, version, build and extension
Python
find pattern in filename product name, version, build and extension
Submitted by
rsim
-
4 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
-
4 years ago
1
email google/microsoft like
Python
email google/microsoft like
Submitted by
Maxime Paris
-
4 years ago
(Last modified 3 years ago)
1
2
PCRE2 (PHP >=7.3)
2
Submitted by
anonymous
-
4 years ago
1
Gitlab - Branch name
PCRE2 (PHP >=7.3)
Branch name for Gitlab's Push Rules
Submitted by
anonymous
-
4 years ago
(Last modified 3 years ago)
1
Gitlab - Commit message
PCRE2 (PHP >=7.3)
Commit message for Gitlab's Push Rules
Submitted by
anonymous
-
4 years ago
(Last modified 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
PIM - Attribute not localized
PCRE (PHP <7.3)
see
Submitted by
anonymous
-
3 years ago
1
aws-arn-parser
PCRE2 (PHP >=7.3)
this helps in parsing aws arn's
Submitted by
anonymous
-
3 years ago
1
...
769
770
771
772
773
...
902
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
^
(
(
ht
|
f
)
tp
(
s
?
)
\:\/\/
|
~
\/
|
\/
)?
(
[
\w
]
+
:
\w
+
@
)?
(
[
a
-
zA
-
Z
]
{1}
(
[
\w
\-
]
+
\.
)+
(
[
\w
]
{2,5}
)
)
(
:
[
\d
]
{1,5}
)?
(
(
\/
?
\w
+
\/
)+
|
\/
?
)
(
\w
+
\.
[
\w
]
{3,4}
)?
(
(
\?
\w
+
=
\w
+
)?
(
&
\w
+
=
\w
+
)*
)?
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago