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
UFUNCTION parser
Breaks any UFUNCTION into parts
Submitted by
anonymous
-
7 days ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
pcre2
url matcher 2.0
now matches any protocol, as well as username, password, query and fragment. query is not split
Submitted by
Mitsunee
-
8 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Country Codes (Alpha 2 and Alpha 3)
Country Code Classifier ISO 3166-1 alpha-2 codes are two-letter country codes defined in ISO 3166-1, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), to represent countries, dependent territories, and special areas of geographical interest. They ar...
Submitted by
loganmcampbell
-
8 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
Hesla ISJ
ISJ
Submitted by
anonymous
-
9 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
100-4300
match 100, 200, 300 upto 4300
Submitted by
anonymous
-
9 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
webforms detection
Rule to identify web form collections
Submitted by
Pandurang Patil
-
9 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
async calls in foreach
async calls in foreach loop, search by await keyword found in foreach
Submitted by
mmateeva
-
10 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Firstname Lastname (Western alphabet)
A regular expression to validate Firstname Lastname, supports multiple names, de, le, O',L',l',d', prefixes.
Submitted by
remedio
-
10 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Clean up Scribd quote
Scribd is a great resource for reading more than you would be able to otherwise, but the app sucks. And in particular, it sucks if you want to copy your highlights to another app, because it automatically adds the book, author, and a link to Scribd with every copy. This regex simple eliminates all ...
Submitted by
derBingle
-
11 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Sonepar - BW5 Service Mapping
Common Mapping
Submitted by
anonymous
-
11 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
MARKDOWN title reader
matches the titles from a markdown starting with i.e. Campaign uploader {#15mins-campaign-uploader}
Submitted by
Deepak O
-
12 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Special Chars
Exclude special chars with exceptions
Submitted by
anonymous
-
13 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
java
Riedler's 2nd URL regex
why did I make this?
Submitted by
Riedler
-
13 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Proventos Rico
Extrair informações do arquivo de proventos da corretora Rico.
Submitted by
anonymous
-
13 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
Get <NIC>
Get NICs from string
Submitted by
anonymous
-
14 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
wip; 匹配malloc申请的内容和使用的不一致
匹配malloc申请的内容和使用的不一致
Submitted by
zyf
-
15 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
Discord GuildEmoji
Matches a custom emoji from discord. Group 1: Optional, "a" means animated, a gif. Group 2: Emoji Name. Group 3: Emoji Id;
Submitted by
revelcw
-
16 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
prod validation
valid prod
Submitted by
CW
-
17 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
Unknown slash on email regex
Yes
Submitted by
kentrino
-
17 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
NotEmpty
https://stackoverflow.com/questions/7967075/regex-for-not-empty-and-not-whitespace
Submitted by
anonymous
-
18 days ago
1
2
3
4
5
...
209
Find passwords in logs
Vote
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
Regular Expression
pcre2
/
(
[
-
]
+
[
Uu
]
(
sername
|
ser
|
SERNAME
|
SER
)?
\s
+
[^
\s
]
+
\s
[
-
]
+
[
Pp
]
(
ass
|
assword
|
ASS
|
ASSWORD
)?
\s
(
[
\"\'
]
)?
)
(
[^
\s
\"\'
]
+
)
/
gmi
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
- 2 months ago