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 17,400 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Cedula Paraguaya con Digito Verificador
PCRE2 (PHP >=7.3)
Valida la C.I. de Paraguay con DV (Opcional)
Submitted by
anonymous
-
21 days ago
2023-11-11 16:29
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
-
22 days ago
2023-11-09 20:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Translations Regex
PCRE2 (PHP >=7.3)
Traduções pra ajudar a encontrar as mensagens em cada caso
Submitted by
anonymous
-
23 days ago
2023-11-09 15:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
regex vietnam number phone
PCRE2 (PHP >=7.3)
regex phone number all telco in Vietnam. at 11/08/2023
Submitted by
hao.nguyen
-
24 days ago
2023-11-08 03:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Unicode Mixed Case Word Detector
PCRE2 (PHP >=7.3)
Detects mixed case words using Unicode
Submitted by
Hooge
-
25 days ago
2023-11-07 17:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Функции с сайта
PCRE2 (PHP >=7.3)
(\\)(.+)(\\)
Submitted by
anonymous
-
25 days ago
2023-11-07 06:17
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Files
PCRE2 (PHP >=7.3)
Files
Submitted by
anonymous
-
a month ago
2023-11-06 08:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Folders
PCRE2 (PHP >=7.3)
Folders
Submitted by
anonymous
-
a month ago
2023-11-06 08:00
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)
instagram url
Python
gets the url instagram
Submitted by
samuel06santos
-
a month ago
2023-11-05 16:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Simple path detector
PCRE2 (PHP >=7.3)
Detect paths under Windows format.
Submitted by
._thunderstrike
-
a month ago
2023-11-05 12:48
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Remove ANSI Escape Code
Python
Remove ANSI Escape Code
Submitted by
diaogong
-
a month ago
2023-11-05 12:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Domain name validator
PCRE2 (PHP >=7.3)
Validates domain names. Support https:// or http:// prefix.
Submitted by
._thunderstrike
-
a month ago
2023-11-05 10:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
blek! File ResourceD resource regex
PCRE2 (PHP >=7.3)
Used in https://git.blek.codes/blek/bfile
Submitted by
anonymous
-
a month ago
2023-11-05 02:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Rust type-like ident casing
Rust
Matches built-in primitives and identifiers with casing conventionally used for type/constant names.
Submitted by
Neel Yadav
-
a month ago
2023-11-04 19:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Initializing identifiers
.NET (C#)
Initializing identifiers
Submitted by
anonymous
-
a month ago
2023-11-04 12:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
force download file (HTML5)
PCRE2 (PHP >=7.3)
This regex is written for a Joomla plugin. This REGEX force to DOWNLOAD à PDF file instead of showing PDF in browser
Submitted by
Sébastien LHUILLIER
-
a month ago
2023-11-03 16:33
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Glyph name Bulgarian local form
PCRE2 (PHP >=7.3)
replace .bgr with cyr_BGR in replace string
Submitted by
anonymous
-
a month ago
2023-11-03 11:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Quartz .NET Cron Schedule Validation
PCRE2 (PHP >=7.3)
Matches a list of cron expressions which are valid in the Quartz .NET library Quartz Net Cron Expression
Submitted by
Michael Robertson
-
a month ago
2023-11-03 04:14
(Last modified a month ago)
2023-11-03 04:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Email Regex
PCRE2 (PHP >=7.3)
Email address: RFC 2822 Format Matches a normal email address. Does not check the top-level domain. Copied from: https://stackoverflow.com/a/16168103/4640611
Submitted by
anonymous
-
a month ago
2023-11-02 11:34
1
2
3
4
5
6
...
870
0x28C6A6DdF8fF8A47A90A69bfE75cd89904a14d71
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
Golang
`
^
(
[
a
-
z0
-
9
]
+
(?:
[
._-
]
[
a
-
z0
-
9
]
+
)*
)
@
(
[
a
-
z0
-
9
]
+
(?:
[
.-
]
[
a
-
z0
-
9
]
+
)*
\.
[
a
-
z
]
{2,}
)
$
`
i
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
3 months ago
2023-09-02 02:02