Regular
Expressions
101
Please wait while the app is loading...
Please enable JavaScript to use this web application.
Regular
Expressions
101
@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
What's new?
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Regex Library
Regex Library
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Order By
Most Recent
Most Points
Fewest Points
Filter by Flavor
PCRE2
PCRE
ECMAScript
Python
Golang
Java
.NET
Sponsors
All your environment variables, in one place
Library entries
Search library
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Path shortener
Used to shorten a path before printing it. Useful to know where we are without printing a 10km path to the screen !
Submitted by
totok
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
RegEX_CPF (Formatação opcional)
Match 1: 123.465.789-00 Group 1: 123.465.789-00 Group 2: 123 Group 3: 456 Group 4: 789 Group 5: 00
Submitted by
BAWB.io
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Barcode Regex
Barcode Regex
Submitted by
anonymous
-
a year ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
todos and tags in code
todos and tags in code
Submitted by
anonymous
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Note Body HTML
Match all valid HTML tags
Submitted by
anonymous
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Select everything after "=" to the end of the line
Select everything after "=" to the end of the line
Submitted by
anonymous
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
get oneoff link
Retrieves the path of the oneoff from a fastfile using the "android upload_to_s3" lane
Submitted by
Sebastian Silbermann
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
get connection string form global.asa
get connection string form global.asa for vb
Submitted by
Yassine Naji
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
8~20的数字+小写字母+大写字母+可选其他字符
如果要指定可选的特殊字符,把| 后面的 酌情替换
Submitted by
devwolf__copy-by_天涯孤雁
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
scss class matching
scss class matching
Submitted by
lucas
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
First name Universal
This Regex is for first name and last name with multiple spaces
Submitted by
Tej
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Time regex
Regex that selects hour, minute, second, and Meridiem Indicator from a string.
Submitted by
PieterT2000
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
ipv4 match
ipv4 match
Submitted by
anonymous
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Placas de veículos do Brasil (Mercosul e pré-Mercosul)
Expressão regular baseada na publicada no artigo REGEX para Placas Brasileiras (incluindo Mercosul) de Ricardo Coelho.
Submitted by
Lucas Miranda <https://github.com/liddack>
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
whitespace only lines
Matches whitespace only lines common to annoying website code.
Submitted by
anonymous
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
股票代码
aa
Submitted by
vv
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
4 spaces and tabs mixed indentation replace pattern
With this expression you can easily replace the indentation from 4 spaces and tabs mixed indented file to a pure indentation.
Submitted by
hNczy
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Get HTML attribute
Get HTML attribute with /" inside
Submitted by
anonymous
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
ID File with .txt
cmd : find -type f | grep -Eo '(.\/)+(.iRqDU1LMXL)+(.*.txt)'
Submitted by
anonymous
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
IP address with port
Match ip address with port
Submitted by
PARNKOT
-
a year ago
1
...
41
42
43
44
45
46
47
...
108
Pattern for usual email address
Vote
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
Regular Expression
pcre2
/
^
(?!
\.
)
(?:
\.
?
[
\w
\+
]
+
+
)+
+
@
(?!
\.
)
(?:
\.
?
(?:
xn--
)?
(?!
-
|
.
*
--
)
[
a
-
zA
-
Z0
-
9
\-
]
+
+
(?<!
-
)
){2,}
$
/
img
Open regex in editor
Description
Loading markdown...
Submitted by
Victor Schröder
- a year ago