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 11,280 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Check password
PCRE (PHP <7.3)
Checks that a password has a minimum of 8 characters, at least 1 uppercase letter, 1 lowercase letter, and 1 number.
Submitted by
letrongtanbs
-
a year ago
2022-06-14 03:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Pesquisar CPF com máscara
Python
Achar o CPF com mascara em um documento PDF.
Submitted by
anonymous
-
a year ago
2022-06-14 04:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Tiktok video regex
Python
Extract the id only from the necessary and supported links oembed tool provided by tiktok to embed these videos
Submitted by
Oscar David Garces Gomez - FB@soyvillareal
-
a year ago
2022-06-17 02:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Thai citizen
PCRE (PHP <7.3)
rule for parse thai citizen card
Submitted by
socool
-
a year ago
2022-06-17 04:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Thai credit card
PCRE (PHP <7.3)
rule for parse thai credit card
Submitted by
socool
-
a year ago
2022-06-17 04:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Thai car register
PCRE (PHP <7.3)
rule for thai registered car
Submitted by
socool
-
a year ago
2022-06-17 04:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
scrape pdf
Python
get data from pdf
Submitted by
anonymous
-
a year ago
2022-06-17 09:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Meh
Python
d
Submitted by
anonymous
-
a year ago
2022-06-18 04:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Token Delimiter
PCRE (PHP <7.3)
Token Delimiter
Submitted by
anonymous
-
a year ago
2022-06-20 15:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Números enteros aislados
Python
Hace coincidir números enteros aislados para el sistema de numeración decimal. test: 11 +11 -11 99-99 a99 a+99 a-99 99a +99a -99a
Submitted by
Johnny Alonso
-
a year ago
2022-06-21 23:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extarct Gene Name from GTF File
Python
The following regex can be used to extract gene names from gtf files
Submitted by
anonymous
-
a year ago
2022-06-22 12:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Valores numéricos aislados
Python
Hace coincidir para el sistema de numeración decimal valores numéricos aislados, es decir, valores no unidos a otros caracteres. test: 11 +11 -11 99-99 a99 a+99 a-99 99a +99a -99a 22e22 22e+22 +22e22 +22e+22 22.22 22. .22 22.e22 22.e+22 22.22e22 22.22e+22 .22e22 .22e+22 88e 88e+ e88 e+88 88e88.
Submitted by
Johnny Alonso
-
a year ago
2022-06-22 23:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Pick third section
Python
Pick third section
Submitted by
Charles
-
a year ago
2022-06-23 07:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ASD
PCRE (PHP <7.3)
HI
Submitted by
anonymous
-
a year ago
2022-06-24 05:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match comments
PCRE (PHP <7.3)
/** comments */ // to the end /* comments */
Submitted by
monk
-
a year ago
2022-06-24 11:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match all filenames in any URL including those with ANSI escaped characters (PHP version)
PCRE (PHP <7.3)
Match all filenames in any URL including those with ANSI escaped characters (PHP version).
Submitted by
The Fourth Bird
-
a year ago
2022-06-26 16:10
(Last modified a year ago)
2022-06-27 09:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex to flag the word "pharmafia"
Python
Useful for forum moderators looking to flag variations of the word "pharmafia" in comments. captures the following variations: pharmafia ph4rm4f14 phar_mafia phar-mafia
Submitted by
tychopotts
-
a year ago
2022-06-27 01:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
FiveM cfx.re/join Link Regex
Python
Matches any valid cfx.re/join/ links.
Submitted by
Johnny_JTH
-
a year ago
2022-06-27 11:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Python program to match if two words from a list of words starting with letter 'P'.
Python
Python program to match if two words from a list of words starting with letter 'P'.
Submitted by
anonymous
-
a year ago
2022-06-27 20:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
腾讯视频
PCRE (PHP <7.3)
从元素解析视频URL
Submitted by
anonymous
-
a year ago
2022-06-28 07:49
1
...
546
547
548
549
550
551
552
...
564
extract hostname
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(?:
http
|
ftp
)
s
?
:
\/\/
(
[
\w
]
[^
\/
=
\s
]
+
)
\/
?
|
(
^
w
{3}
[
\.
\w
]
[^
\/\=
\s
]
{2,}
)
\/
?
/
mg
Open regex in editor
Description
Loading markdown...
Submitted by
Kristine Poghosyan
-
8 years ago
2016-02-13 07:55