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,540 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Phone number
PCRE2 (PHP >=7.3)
Improvement of the Phone Number regex pattern created by 'elishas@syncode.io'
Submitted by
anonymous
-
2 years ago
2022-05-16 09:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find string a string not withing quote
PCRE2 (PHP >=7.3)
Find string a string not withing quote
Submitted by
anonymous
-
2 years ago
2022-05-14 19:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Capture Mail
PCRE2 (PHP >=7.3)
Calcolo 1° indirizzo mail da stringa con indirizzo fisso.
Submitted by
Alessandro
-
2 years ago
2022-05-13 15:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match but no replace
PCRE2 (PHP >=7.3)
match an group in re.sub pattern but no replace it !
Submitted by
anonymous
-
2 years ago
2022-05-12 16:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract VK.com community ID
Python
Extract the numerical ID of a VK Commmunity fromit's wall url.
Submitted by
anonymous
-
2 years ago
2022-05-11 12:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match ipv4|匹配ipv4
PCRE2 (PHP >=7.3)
192.168.254.1 match 0.0.0.0 match 01.01.01.01 does not match 255.255.255.255 match 255.0.0.0 match 0.0.0.256 does not match
Submitted by
nihuge
-
2 years ago
2022-05-11 01:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
belcorp
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
2 years ago
2022-05-10 22:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
command df -T on linux
PCRE2 (PHP >=7.3)
command df -T on linux udev devtmpfs 65928068 0 65928068 0% /dev tmpfs tmpfs 13190576 304608 12885968 3% /run /dev/mapper/pve-root ext4 98559220 50337808 43171864 54% / tmpfs tmpfs 65952876 46800 65906076 1% /dev/shm...
Submitted by
Saulo Costa
-
2 years ago
2022-05-10 18:47
(Last modified 2 years ago)
2022-05-10 18:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Language Values not escaped Double Quotes
PCRE2 (PHP >=7.3)
Regex that identifies unescaped double quotes in strings
Submitted by
Marco
-
2 years ago
2022-05-10 16:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
C/F temp unit
PCRE2 (PHP >=7.3)
me
Submitted by
anonymous
-
2 years ago
2022-05-10 10:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
10digit mobile number with no spaces and special characters
PCRE2 (PHP >=7.3)
Match a single character present in the list below [6-9] 6-9 matches a single character in the range between 6 (index 54) and 9 (index 57) (case sensitive) Match a single character present in the list below [0-9] {9} matches the previous token exactly 9 times 0-9 matches a single character in the ra...
Submitted by
anonymous
-
2 years ago
2022-05-10 07:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
i18next Resource key
PCRE2 (PHP >=7.3)
This regex matches i18next library resource keys
Submitted by
anonymous
-
2 years ago
2022-05-10 04:38
(Last modified 2 years ago)
2022-05-10 04:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Postcode (UK)
Python
Detects UK postcodes (minimal edge cases)
Submitted by
anonymous
-
2 years ago
2022-05-09 09:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PO Number
Python
Detects specific prefixes followed by number series
Submitted by
anonymous
-
2 years ago
2022-05-09 09:35
(Last modified 2 years ago)
2022-05-09 09:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Credit Note
Python
Detects specific word in a sentence
Submitted by
anonymous
-
2 years ago
2022-05-09 09:31
(Last modified 2 years ago)
2022-05-09 09:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Postfix
PCRE2 (PHP >=7.3)
Add DR to end of line
Submitted by
anonymous
-
2 years ago
2022-05-09 07:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
dice thing
Python
Stuff for a dnd thing
Submitted by
Cata
-
2 years ago
2022-05-09 00:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
完形填空
Python
完形填空
Submitted by
anonymous
-
2 years ago
2022-05-07 13:21
(Last modified 2 years ago)
2022-05-09 12:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
恩更
Python
非法发
Submitted by
anonymous
-
2 years ago
2022-05-07 02:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CPF|CNPJ
Python
Match Brazilian documents
Submitted by
Bacco
-
2 years ago
2022-05-06 21:28
1
...
76
77
78
79
80
81
82
...
227
Pattern for usual email address
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?!
\.
)
(?:
\.
?
[
\w
\+
]
+
+
)+
+
@
(?!
\.
)
(?:
\.
?
(?:
xn--
)?
(?!
-
|
.
*
--
)
[
a
-
zA
-
Z0
-
9
\-
]
+
+
(?<!
-
)
){2,}
$
/
img
Open regex in editor
Description
Loading markdown...
Submitted by
Victor Schröder
-
2 years ago
2022-03-22 11:51