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 17,080 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
string valid contains html
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-29 07:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
USD
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-28 18:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Palindromes
PCRE (PHP <7.3)
How to detect palindromes up to 12 characters in length. I chose 12 because currently, the longest palindrome that is an actual word is "tattarrattat". This was a fun exercise because someone said pcre can't detect palindromes. Check and mate, my good sir.
Submitted by
Damian Torres
-
6 years ago
2017-06-28 17:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Spreadsheet sheet reference
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-28 04:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
image cid
Golang
no description available
Submitted by
anonymous
-
6 years ago
2017-06-27 09:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Array-like string
ECMAScript (JavaScript)
Matches strings that are formatted as arrays. The following will match: [ 3.4, -600, foo ] ["foo","bar"] [ bar, 1600 ]...
Submitted by
Chris Swithinbank
-
6 years ago
2017-06-27 06:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-26 21:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
First name last name reversal
PCRE (PHP <7.3)
Format name listing by putting last name first
Submitted by
Panagiotis Plevrakis
-
6 years ago
2017-06-26 20:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Customer
Golang
no description available
Submitted by
anonymous
-
6 years ago
2017-06-26 18:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Time regex HH:MM:SS
PCRE (PHP <7.3)
no description available
Submitted by
Panagiotis Plevrakis
-
6 years ago
2017-06-26 13:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Mathematics Expression
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-24 15:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-24 02:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
aHex color
ECMAScript (JavaScript)
no description available
Submitted by
@hachesilva
-
6 years ago
2017-06-23 20:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URI slug with optional slashes and query string
PCRE (PHP <7.3)
Validates a URI slug. Must: Contain lowercase alphanumeric character(s) separated with a single dash. Optionally allows:...
Submitted by
Quentin McRee
-
6 years ago
2017-06-23 19:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Telegram bot deep linking
PCRE (PHP <7.3)
Telegram bot deep linking Telegram bots have a deep linking mechanism, that allows for passing additional parameters to the bot on startup. It could be a command that launches the bot — or an auth token to connect the user's Telegram account to their account on some external service. ...
Submitted by
SadeghPM@gmail.com
-
6 years ago
2017-06-23 09:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
VLAN_SUBINTERFACE
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-22 16:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
TAB £ symbol searching from the end
PCRE (PHP <7.3)
TAB £ symbol searching from the end
Submitted by
anonymous
-
6 years ago
2017-06-22 15:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
TAB Text Splitter
PCRE (PHP <7.3)
Splits text with TABS into separate Capture zones.
Submitted by
anonymous
-
6 years ago
2017-06-22 13:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
C# Region killer
PCRE (PHP <7.3)
This regex matches properly spaced C# region statements, and can be used to remove them in an existing codebase.
Submitted by
Jax
-
6 years ago
2017-06-22 12:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
C# Region killer
PCRE (PHP <7.3)
This regex matches properly spaced C# region statements, and can be used to remove them in an existing codebase.
Submitted by
Jax
-
6 years ago
2017-06-22 11:59
1
...
534
535
536
537
538
539
540
...
854
Regex to capture any string having all given words
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(?:
\b
(?:
your
|
amazon
\.
com
|
shipped
)
\b.
*
){3}
/
ig
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
7 years ago
2017-05-22 07:51