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,420 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
python 3 executable regex
PCRE2 (PHP >=7.3)
give then names of various executables filter out ones that run python3+
Submitted by
anonymous
-
2 years ago
2021-04-09 16:38
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ParsingAmazonInvoice
PCRE2 (PHP >=7.3)
Goes through a Plain text derived from a PDF capturing the order number, the items, the order and ship dated and the costs.
Submitted by
anonymous
-
2 years ago
2021-04-11 19:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
replace between brackets 3
PCRE2 (PHP >=7.3)
replace multiple matches of words in brackets with no brackets
Submitted by
anonymous
-
2 years ago
2021-04-12 20:13
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
zpool status
PCRE2 (PHP >=7.3)
Matches the output of zpool status -v. Use preg_match_all with PREG_SET_ORDER to match multiple pools
Submitted by
GiorgioAresu
-
2 years ago
2021-08-24 21:08
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Nitroflare ID
PCRE2 (PHP >=7.3)
https://nitroflare.com/view/845F2436715ASF5/XUYZ.zip
Submitted by
anonymous
-
2 years ago
2021-04-13 23:09
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Nitroflare v2
PCRE2 (PHP >=7.3)
Extract ID
Submitted by
anonymous
-
2 years ago
2021-04-13 23:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
sdfsf
PCRE2 (PHP >=7.3)
sdf
Submitted by
dsf
-
2 years ago
2021-04-14 11:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
notlike
PCRE2 (PHP >=7.3)
notlike
Submitted by
anonymous
-
2 years ago
2021-04-14 11:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
All digit must be number
PCRE2 (PHP >=7.3)
All digit must be number
Submitted by
anonymous
-
2 years ago
2021-04-15 04:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Must be start with 62 and all number (indonesia phone)
PCRE2 (PHP >=7.3)
Must be start with 62 and all number (indonesia phone)
Submitted by
anonymous
-
2 years ago
2021-04-15 04:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Schuljahr
PCRE2 (PHP >=7.3)
Akzeptiert Schuljahre wie 2021/22
Submitted by
anonymous
-
2 years ago
2021-04-15 12:40
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
URL and mailto
PCRE2 (PHP >=7.3)
RegExp to match valid URL of http://, https://, ftp://, and mailto: protocols
Submitted by
Sergey Klinov
-
2 years ago
2021-05-05 08:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
shortcode wordpress
PCRE2 (PHP >=7.3)
Wordpress shortcode regular expression
Submitted by
selik
-
2 years ago
2021-05-21 10:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
PHP Multiline Error Log
PCRE2 (PHP >=7.3)
Matches multiline entries (e.g. those containing exception stack traces or just multiline values) in a PHP error log produced by error_log().
Submitted by
Anton Ukhanev
-
2 years ago
2021-05-27 11:58
(Last modified 2 years ago)
2021-05-28 10:20
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
the_100_720p_hun-eng_sln
PCRE2 (PHP >=7.3)
rss filter, deluge, ncore Episodes and Seasons
Submitted by
Klein
-
2 years ago
2021-05-28 12:47
(Last modified 2 years ago)
2021-05-28 13:22
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Persian words
PCRE2 (PHP >=7.3)
Regex for find persian letters in a string
Submitted by
Hamed Faryabi
-
2 years ago
2021-06-10 06:50
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
RegEx to add any valid US phone number inputs
PCRE2 (PHP >=7.3)
##examples of valid US phone number inputs *555-555-5555 *(555)555-5555 *(555) 555-5555 *555 555 5555...
Submitted by
@abhi00o7
-
2 years ago
2021-06-11 03:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Password requirements checker
PCRE2 (PHP >=7.3)
This regular expression allows you to simply check if a password matches with your conditions. By default it will require: 1 {1} uppercase letter [A-Z] or more 1 {1} lowercase letter [a-z] or more 1 {1} number [0-9] or more 1 {1} special character [@#$%^!&+=.\-_*] or more...
Submitted by
Pythack
-
2 years ago
2021-06-18 10:06
(Last modified 2 years ago)
2021-06-19 11:32
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Youtube video link regular expression
PCRE2 (PHP >=7.3)
This regular expression allows you to test strings to see if they are youtube video links.
Submitted by
Pythack
-
2 years ago
2021-06-18 10:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Youtube channel link regular expression
PCRE2 (PHP >=7.3)
Regular expression for youtube channels links.
Submitted by
Pythack
-
2 years ago
2021-06-18 10:29
1
2
3
4
5
6
7
8
...
121
Replace sub-strings in string
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Regular Expression
.NET (C#)
@"
(
\d\d\d\d
)
(
\d\d
)
(
\d\d
)
_
(
\d\d
)
(
\d\d
)
(
\d\d
)
(
\S
+
)
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
9 months ago
2023-01-01 01:47