Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 12,780 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Persian and English Title and Name and Address
ECMAScript (JavaScript)
it is a validator for name, title, address or any texts what need only accept persian-arabic alphabet and english. additional some characters like - ,
Submitted by
saebkhanzadeh
-
a day ago
2023-12-02 21:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
URLs
ECMAScript (JavaScript)
A simple URL regex that can handle most "properly" formed URLs, and some URIs. It features named groups to easily destruct matches. URIs can use relative paths (../ and ./) to resources. Example (JavaScript) let url = "https://username:password@example.org:8080/path/to/resource?query=term&query=ter...
Submitted by
ephellon
-
8 days ago
2023-11-26 02:56
(Last modified 2 hours ago)
2023-12-03 19:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CSS classes
ECMAScript (JavaScript)
This selects all (non crazy) CSS class in all valid scenarios
Submitted by
anonymous
-
8 days ago
2023-11-25 14:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
RegEx for Treating Express Route
ECMAScript (JavaScript)
A Regex that can be applied over the following routes pattern: GET ^\/auth\/?(?=\/|$)/generate GET ^\/auth\/?(?=\/|$)/callback Applying it inside a code, it will get like this:...
Submitted by
HorselessName
-
10 days ago
2023-11-24 04:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
RFC 2822 standard email validation with limit of chars in name, domain name,and domain
ECMAScript (JavaScript)
Vaild: valid.email@example.com john.doe123@example.co.uk alice_smith@company.org user1234@emailprovider.net...
Submitted by
anonymous
-
16 days ago
2023-11-18 00:28
(Last modified 16 days ago)
2023-11-18 00:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Email regex for JS
ECMAScript (JavaScript)
This reges do not covering long emails. It should check domian (64) and page name(255) limits.
Submitted by
SnaYQ
-
16 days ago
2023-11-17 23:55
(Last modified 16 days ago)
2023-11-18 00:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
car licence registry (placa de carro)
ECMAScript (JavaScript)
brazilian car licence registry validation (validação de placa de carro brasileira e mercosul)
Submitted by
edurbs
-
17 days ago
2023-11-16 15:41
(Last modified 17 days ago)
2023-11-16 15:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Full name validation
ECMAScript (JavaScript)
Full name validation with latin caracters
Submitted by
edurbs
-
19 days ago
2023-11-14 13:31
(Last modified 17 days ago)
2023-11-16 15:45
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
m3u8-ffzy
ECMAScript (JavaScript)
m3u8-ffzy
Submitted by
anonymous
-
21 days ago
2023-11-13 03:50
(Last modified 21 days ago)
2023-11-13 04:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
77870294
PCRE (PHP <7.3)
618001/041881 564094
Submitted by
960203095053
-
21 days ago
2023-11-12 11:36
(Last modified 21 days ago)
2023-11-12 11:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
URL Checker
ECMAScript (JavaScript)
Allows to extract or check if the text includes different URLs, allowing for you to check different kinds of links from the simple ones up to the more complex ones that includes prefix, subdomain, domain, entire website name and subpages.
Submitted by
kyunishya
-
24 days ago
2023-11-09 20:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match morse code
ECMAScript (JavaScript)
This matches morse code input and leaves word break spaces
Submitted by
Ember
-
a month ago
2023-11-06 04:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Kafka loki parser
Golang
Kafka loki parser
Submitted by
anonymous
-
a month ago
2023-10-24 21:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
OpenWeather API Key Regex
ECMAScript (JavaScript)
A simple regex to match API keys for OpenWeather map. Matches 32 hexadecimal character strings.
Submitted by
anonymous
-
a month ago
2023-10-24 14:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Roblox Account Cookie RegExp
ECMAScript (JavaScript)
A regex to match against Roblox cookies. Two captures; the first is the warning text; the second is the cookie itself.
Submitted by
anonymous
-
a month ago
2023-10-24 13:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Discord Bot Token
ECMAScript (JavaScript)
JS/TS regex for token validation.
Submitted by
anonymous
-
a month ago
2023-10-24 12:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
hyphenize
ECMAScript (JavaScript)
convert 16 chars into four hyphen separated groups
Submitted by
mco
-
a month ago
2023-10-23 13:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
English address
ECMAScript (JavaScript)
English address that can start with numbers, # sign or words (\w) followed with any combination of previously mentioned. Multi-line, global and case insensitive supported. Address CANNOT START WITH \w character _ or 0 or any other symbols
Submitted by
Dr St Clair Clarke
-
a month ago
2023-10-19 21:59
(Last modified a month ago)
2023-10-19 22:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
REGEX for parsing Received value in email headers (RFC822)
ECMAScript (JavaScript)
Example: Received: from VI1PR0102CA0029.eurprd01.prod.exchangelabs.com (2603:10a6:802::42) by VE1PR01MB5599.eurprd01.prod.exchangelabs.com (2603:10a6:803:11f::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.12; Thu, 9 Jan ...
Submitted by
anonymous
-
a month ago
2023-10-19 08:27
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
nomor telp lokal wakanda
ECMAScript (JavaScript)
indonesian telephone number
Submitted by
aku dewe
-
2 months ago
2023-10-11 09:05
1
2
3
4
...
639
Decimal up to 15.2 digits in French and English culture
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
^
-
?
\d
{1,3}
(?:
(?:
,
\d
{3}
){0,4}
(?:
\.
\d
{1,2}
)
|
(?:
(?:
\s\d
{3}
){0,4}
|
(?:
\d
{0,12}
)
)
(?:
[
.,
]
\d
{1,2}
)?
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
BkQc
-
4 months ago
2023-08-16 18:38
(Last modified 3 months ago)
2023-08-30 15:14