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 2,340 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
IPV4 Address Identificate
PCRE2 (PHP >=7.3)
Regex to identificate a IPV4 Address
Submitted by
Pablo Deyvid
-
2 years ago
2021-09-20 03:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regex
PCRE2 (PHP >=7.3)
Match an element from a list
Submitted by
anonymous
-
2 years ago
2021-09-20 15:14
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Phone Number E.164
PCRE2 (PHP >=7.3)
Starts with + from 8 digits until 15
Submitted by
Sear Lopez
-
2 years ago
2021-09-22 17:17
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
US Date Format to ISO using regex substitution
PCRE2 (PHP >=7.3)
Convert a US Date format to ISO
Submitted by
Joe Kruger
-
2 years ago
2021-09-23 09:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match Between HTML Tags
PCRE2 (PHP >=7.3)
Match everything within the given HTML tag
Submitted by
William Wilkins
-
2 years ago
2021-09-23 17:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Break PANEL webcomic
PCRE2 (PHP >=7.3)
regex that wrap the Panel section with $& so it will display like a webcomic codepen link: https://codepen.io/mangadrawing123/pen/oNwavgQ?editors=0110
Submitted by
anonymous
-
2 years ago
2021-09-24 14:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
UK style date
PCRE2 (PHP >=7.3)
dd/mm/yyyy
Submitted by
Russ Ferriday, from Docusign templates
-
2 years ago
2021-09-24 15:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
US Style Date - from Docusign template
PCRE2 (PHP >=7.3)
mm/dd/yyyy
Submitted by
Russ Ferriday, based on customer docusign template
-
2 years ago
2021-09-24 15:40
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Rècupère les différents liens de nitro discord
PCRE2 (PHP >=7.3)
Rècupère les différents liens de nitro discord
Submitted by
M1000.fr#0008
-
2 years ago
2021-09-24 16:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Rècupère les différents liens d'invitation de serveur discord
PCRE2 (PHP >=7.3)
Rècupère les différents liens d'invitation de serveur discord
Submitted by
M1000.fr#0008
-
2 years ago
2021-09-24 16:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ew
PCRE2 (PHP >=7.3)
ee
Submitted by
anonymous
-
2 years ago
2021-09-26 03:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Email
PCRE2 (PHP >=7.3)
Regex simples para verificação de email
Submitted by
anonymous
-
2 years ago
2021-09-27 18:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Fetch "text A (text B)" or "text A (text B (text C))"
PCRE2 (PHP >=7.3)
How do I extract then some text A, some text B and some text C if they are in the format some text A ( some text B ( some text C)) Please mind that in some cases may be only some text A ( some text B)...
Submitted by
anonymous
-
2 years ago
2021-09-28 12:40
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
/(# .*)(&𝗐𝖾𝗀𝗈)/𝗀𝗆
PCRE2 (PHP >=7.3)
/(# .*)(&𝗐𝖾𝗀𝗈)/𝗀𝗆
Submitted by
anonymous
-
2 years ago
2021-09-29 19:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match Windows filename in any path but only C: D: and F: drives
Java 8
Used for Service Discovery in vRealize Operations. Use case is a service that can be installed on any path, but we only want to discover and monitor services installed on standard production drives (C, D or F). Filename will always be the same.
Submitted by
Various
-
2 years ago
2021-10-02 18:55
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Backtracking Test
PCRE2 (PHP >=7.3)
Submitted by
farhan
-
2 years ago
2021-10-03 05:18
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
trino kill query
PCRE2 (PHP >=7.3)
trino kill query
Submitted by
anonymous
-
2 years ago
2021-10-03 22:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
trino kill query ID
PCRE2 (PHP >=7.3)
trino kill query ID
Submitted by
anonymous
-
2 years ago
2021-10-03 23:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Sutthinart
PCRE2 (PHP >=7.3)
Private Regex Library
Submitted by
Sutthinart Khunvadhana
-
2 years ago
2021-10-04 09:33
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
match all between quotes
PCRE2 (PHP >=7.3)
this matches everything between quotation marks, the \" can be changed into whatever you need
Submitted by
anonymous
-
2 years ago
2021-10-04 10:00
1
...
6
7
8
9
10
11
12
...
117
OmegaT
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
^\p{Zs}
*
(
<
(?:
/
?
[
xg
]
\d
|
[
xg
]
\d
/
)
>
\p{Zs}
*
)+
\p{Zs}
*
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 months ago
2023-02-10 08:09