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,540 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Split Http(s) Response
PCRE2 (PHP >=7.3)
Split Http(s) Response
Submitted by
anonymous
-
10 months ago
2022-12-03 07:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matches ISBN-10 or ISBN-13 in any text (separator can be space or -)
PCRE2 (PHP >=7.3)
Matches ISBN-10 or ISBN-13 in any text (separator can be space or -). You still need to use code to compute checksum using the last digit to validate.
Submitted by
anonymous
-
10 months ago
2022-12-02 23:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find unmatched smart quotes or bad quotes
PCRE2 (PHP >=7.3)
Finds all unmatched smart quotes, double and single, but ignores close single smart quote when used as an apostrophe.
Submitted by
Rich Meng
-
10 months ago
2022-12-02 17:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Vivaldi
PCRE2 (PHP >=7.3)
Vivaldi
Submitted by
anonymous
-
10 months ago
2022-12-02 10:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
A Fast Way to Redeem All Jingle Jam Steam Codes
PCRE2 (PHP >=7.3)
Paste the text of your email in the "TEST STRING" text box. Then click
Submitted by
Mii415
-
10 months ago
2022-12-02 05:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Pig Latin
PCRE2 (PHP >=7.3)
Group first character and remaining word and flip order
Submitted by
anonymous
-
10 months ago
2022-12-01 07:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get IP adress from proxy scrapper
PCRE2 (PHP >=7.3)
Get the IP Address and port from the proxybroker report "bluet/proxybroker2"
Submitted by
anonymous
-
10 months ago
2022-11-30 17:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Identify and group Certificate and Private Key from a combination PEM file
PCRE2 (PHP >=7.3)
Identify and group Certificate and Private Key from a combination PEM file
Submitted by
@rbleattler
-
10 months ago
2022-11-30 15:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
TXN ID
PCRE2 (PHP >=7.3)
VIL ID
Submitted by
anonymous
-
10 months ago
2022-11-30 05:30
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Decimal digit with some text pattern at the end.
PCRE2 (PHP >=7.3)
[0-9]+\.?[0-9,]* ?(?:UI|IU|MCG|G|I.U|I.U.|MG|ML|GM)(?:\/?[0-9]+\.?[0-9]* ?(?:UI|IU|MCG|G|I.U|I.U.|MG|ML|GM))?
Submitted by
anonymous
-
10 months ago
2022-11-29 12:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Slurs
PCRE2 (PHP >=7.3)
Not made with ill intentions.
Submitted by
anonymous
-
10 months ago
2022-11-28 23:13
(Last modified 9 months ago)
2022-12-23 04:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
partnkey value
Java 8
Extract value partn_key
Submitted by
anonymous
-
10 months ago
2022-11-28 21:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ChromeOS user agent
PCRE2 (PHP >=7.3)
Regex matches Chrome OS user agents. Tested against 4.5k apache log lines. By Dennis Faas https://www.infopackets.com
Submitted by
anonymous
-
10 months ago
2022-11-28 20:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
iPhone, iPad, iPod user agent
PCRE2 (PHP >=7.3)
Regex matches iPhone, iPad, iPod user agents. Tested against 250k apache log lines. By Dennis Faas https://www.infopackets.com
Submitted by
anonymous
-
10 months ago
2022-11-28 19:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
3 digits + M
PCRE2 (PHP >=7.3)
I've used this for filtering files which are bigger than 100 M and smaller than 1 GB
Submitted by
anonymous
-
10 months ago
2022-11-28 08:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
正则提取
PCRE2 (PHP >=7.3)
ss
Submitted by
sss
-
10 months ago
2022-11-28 08:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
e-mail regex
PCRE2 (PHP >=7.3)
Validates an email address
Submitted by
anonymous
-
10 months ago
2022-11-28 05:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
id
PCRE2 (PHP >=7.3)
getid
Submitted by
anonymous
-
10 months ago
2022-11-27 12:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
id
PCRE2 (PHP >=7.3)
getid
Submitted by
anonymous
-
10 months ago
2022-11-27 12:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract a string key's values from a json
Java 8
Sample: Finds errorType key values from a json. Values are returned in capturing group 1 of each match. Both UNKNOWN and UNAUTHENTICATED will be captured. ...
Submitted by
amansaryal
-
10 months ago
2022-11-26 18:23
(Last modified 10 months ago)
2022-11-26 21:13
1
...
32
33
34
35
36
37
38
...
127
Verify email
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
^
[
\w\d
]
+
@
[
\w\d
]
+
\.
[
\w\d
]
+
$
"
mg
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
a year ago
2022-09-24 15:45
(Last modified a year ago)
2022-09-24 16:53