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 4,500 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
-
17 days ago
2023-11-11 16:29
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
-
19 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
-
20 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
-
21 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
-
21 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
-
22 days 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
-
22 days ago
2023-11-06 08:00
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
-
23 days 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
-
23 days 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
-
23 days 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
-
23 days 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
-
23 days ago
2023-11-05 02:11
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
-
25 days 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
-
25 days 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
-
25 days ago
2023-11-03 04:14
(Last modified 25 days 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
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
convert any youtube video link to an embed in iframe
PCRE2 (PHP >=7.3)
supports all link formats
Submitted by
1Mouse
-
a month ago
2023-11-02 11:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Matches All the Odd Numbers
PCRE2 (PHP >=7.3)
Matches All the Odd Numbers
Submitted by
Dashrath Sharma
-
a month ago
2023-11-02 09:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Matches All the even numbers
PCRE2 (PHP >=7.3)
Matches all the even numbers from a given input.
Submitted by
Dashrath Sharma
-
a month ago
2023-11-02 09:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
match php tag
PCRE2 (PHP >=7.3)
match php tag
Submitted by
Shun Shun
-
a month ago
2023-11-01 12:50
(Last modified a month ago)
2023-11-01 13:42
1
2
3
4
5
...
225
Discord name with both old and new name support
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[^
#
]
{2,32}
#
\d
{3}
[
1
-
9
]
|
(?!
.
*
\.\.
)
[
a
-
z
\d
_.
]
{2,32}
€
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Fy17
-
6 months ago
2023-05-22 07:39