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,400 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
.ass
PCRE2 (PHP >=7.3)
.ass
Submitted by
anonymous
-
3 years ago
2021-03-21 07:34
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
National Insurance Number regular expression
PCRE2 (PHP >=7.3)
This regular expression is build from the description of NINO number of GOV.UK,
Submitted by
Iftakhar Husan
-
3 years ago
2021-03-20 22:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Were Wolf Emoji
PCRE2 (PHP >=7.3)
Were Wolf Bet Emj
Submitted by
anonymous
-
3 years ago
2021-03-20 01:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex CEP
PCRE2 (PHP >=7.3)
/[0-9]{2}(\.|\s)?[0-9]{3}(\.|\s)?[0-9]{2}\n/gm
Submitted by
anonymous
-
3 years ago
2021-03-19 21:42
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
1
...
125
126
127
128
129
130
131
...
220
H tags
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
<
(
\w\d
)
>
(?:
<br
\/
>
)?
(?:
<
[
pP
]
>
)?
<
\w\s
?
\w
+
[
=
]
?
"
(
[
\w
;
\s
&dåäö.,()
-
:
]
+
)
">
(?:
<
\/
\w
>
)?
<
\w
+
>
(
[
\w
;
\s
&dåäö.,()
-
:
]
+
)
<
\/
\w
+
>
(?:
<
\/
\w
>
)?
<
\/
\w\d
>
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
3 years ago
2021-02-04 16:09