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 5,620 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
id
PCRE2 (PHP >=7.3)
getid
Submitted by
anonymous
-
a year ago
2022-11-27 12:14
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
-
a year ago
2022-11-28 19:58
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
-
a year ago
2022-11-28 20:02
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
-
a year ago
2022-11-28 05:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
正则提取
PCRE2 (PHP >=7.3)
ss
Submitted by
sss
-
a year ago
2022-11-28 08:19
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
-
a year ago
2022-11-28 08:28
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
-
a year ago
2022-11-28 23:13
(Last modified a year ago)
2022-12-23 04:53
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
-
a year ago
2022-11-30 05:30
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
-
a year ago
2022-11-30 15:39
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
-
a year ago
2022-11-30 17:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Bad Markdown Links matcher
ECMAScript (JavaScript)
// Expecting this is a string, will try to replace md links // in wrong format: // [link nowhere] or [link] // to just link nowhere or link
Submitted by
diegoaguilar
-
a year ago
2022-11-30 18:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matches filenames in urls
ECMAScript (JavaScript)
Filenames in urls
Submitted by
anonymous
-
a year ago
2022-11-30 20:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match filenames in URLS (updated)
ECMAScript (JavaScript)
Match filenames in URLS (updated)
Submitted by
anonymous
-
a year ago
2022-11-30 22:10
(Last modified a year ago)
2022-12-02 17:57
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
-
a year ago
2022-12-01 07:01
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
-
a year ago
2022-12-02 05:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Vivaldi
PCRE2 (PHP >=7.3)
Vivaldi
Submitted by
anonymous
-
a year ago
2022-12-02 10:02
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
-
a year ago
2022-12-02 17:52
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
-
a year ago
2022-12-02 23:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Тестовая строка
ECMAScript (JavaScript)
Здесь можно тренироваться с регулярками
Submitted by
anonymous
-
a year ago
2022-12-03 07:29
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
-
a year ago
2022-12-03 07:37
1
...
215
216
217
218
219
220
221
...
281
JavaScript Function w/ Recusive Parenthasis JavaScript Function w/ Recusive Parenthasis JavaScript Function w/ Recusive Parenthasis
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
(
[
\w
$
]
*
[
\w\d
$
]
*
?
(
\(\)
|
\(
\g<0>
\)
)?
\.
?
)*
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
jD3V
-
2 years ago
2022-05-18 14:45