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,380 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
E.164 ITU Telephony Standard including Extensions
PCRE2 (PHP >=7.3)
Basic RegEx to catch ITU E.164 Formatted Telephone Numbers. Must include leading '+', first digit cannot be a zero, no other non-numeric characters -- with (optional) exception of Extensions denoted by ";ext=" and between 3 and 6 digits in the extension (adjust max to suit organization)
Submitted by
ADWolf
-
3 years ago
2021-03-18 22:31
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
OhArthit
PCRE2 (PHP >=7.3)
ผลิตภัณฑ์ส่งเสริมการขาย
Submitted by
anonymous
-
3 years ago
2021-03-18 09:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Open ach
PCRE2 (PHP >=7.3)
8k realese
Submitted by
Cache
-
3 years ago
2021-03-18 03:12
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Url
PCRE2 (PHP >=7.3)
Port https://regex101.com/library/cX0pJ8 to PCRE2 (PHP >= 7.3)
Submitted by
semivori
-
3 years ago
2021-03-17 12:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Stack Overflow (match only words)
Python
a word is anything valid within a parens (like in a function), but the function itself should not be matched a word may have a numeric at the end or the start there is no guarantee of a single space (or ANY space other than some operators)
Submitted by
Cambuchi
-
3 years ago
2021-03-17 05:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Frac
Python
frac
Submitted by
anonymous
-
3 years ago
2021-03-16 17:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
convert currency
PCRE2 (PHP >=7.3)
remove currency symbol, remove commas
Submitted by
RWCorbett
-
3 years ago
2021-03-16 13:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SKRAI
PCRE2 (PHP >=7.3)
haowei.ch
Submitted by
haowei.ch
-
3 years ago
2021-03-16 02:50
-2
0 upvotes, 2 downvotes (score 0%) (You must be signed in to vote)
smargs
PCRE2 (PHP >=7.3)
smargs not margins
Submitted by
rkatz
-
3 years ago
2021-03-16 00:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Ansible group that are not part of childre
PCRE2 (PHP >=7.3)
csc
Submitted by
anonymous
-
3 years ago
2021-03-15 23:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Valid Dates
PCRE2 (PHP >=7.3)
e
Submitted by
anonymous
-
3 years ago
2021-03-15 22:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Ejemplos - lookahead
PCRE2 (PHP >=7.3)
Ejemplo del uso de grupos lookahead
Submitted by
anonymous
-
3 years ago
2021-03-15 20:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Date by Month Name
Golang
Best I could do for parsing dates spelled out as day, month name, year
Submitted by
anonymous
-
3 years ago
2021-03-13 21:45
(Last modified 2 months ago)
2023-07-19 19:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Check Integer Number
PCRE2 (PHP >=7.3)
Check Integer Number
Submitted by
anonymous
-
3 years ago
2021-03-13 08:41
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
web log entry
PCRE2 (PHP >=7.3)
no description available
Submitted by
PepeRG
-
3 years ago
2021-03-11 23:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
artifactory-acess
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
2021-03-11 21:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
artifactory-request
Golang
no description available
Submitted by
Scott Barnes
-
3 years ago
2021-03-11 16:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match Microchip xc16 library's PIC24 and dsPIC3x linker script filenames
Python
Created for a Python program that needed to help recognize linker script filenames that resemble those for actual devices in Microchip's 16-bit DSC/MCU family of chips. The regex will match any such filename found in Microchip's xc16 support directory tree, as of xc16 v1.50. (I've actually tested i...
Submitted by
Galen Tackett
-
3 years ago
2021-03-11 15:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Youtube AdBlock Regexp
PCRE2 (PHP >=7.3)
From the whole list to single regexp with options
Submitted by
Harianto van Insulinde
-
3 years ago
2021-03-10 22:51
(Last modified 2 months ago)
2023-07-24 19:13
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Gitlab GraphQl query finder
PCRE2 (PHP >=7.3)
Searches for the first list element in a graphql query, which allows for filtering and pagination, except for the group node
Submitted by
Thomas Luijken
-
3 years ago
2021-03-10 15:47
1
...
125
126
127
128
129
130
131
...
219
Domain
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
\/\/
(
[
a
-
zA
-
Z0
-
9
]
+
\.
)*
(?<http_referrer_domain>
[
a
-
zA
-
Z0
-
9
]
[
a
-
zA
-
Z0
-
9-
]
*
?
)
\.
[
a
-
zA
-
Z
]
{2,}
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
3 years ago
2021-02-09 10:40