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 16,960 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
DnD Number Roll
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-07 15:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
includes con palabras repetidas
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-06 21:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match a string, except when the string is enclosed in double-quotes
Python
For example, when it is needed to match the string "Tarzan" (without the quotes), in "Tarzan and Jane", and "Jane and Tarzan", but not in "Tarzan" (with the quotes). The wanted string is in Group 1.
Submitted by
anonymous
-
6 years ago
2017-06-06 20:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex To Match Angular Expression
PCRE (PHP <7.3)
no description available
Submitted by
Nisar
-
6 years ago
2017-06-06 11:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
FilePath
PCRE (PHP <7.3)
Get the Path, Leave the File
Submitted by
anonymous
-
6 years ago
2017-06-06 09:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
button audio
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-05 15:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Asset Tag Orange Group
Python
no description available
Submitted by
anonymous
-
6 years ago
2017-06-05 14:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Validate param name
ECMAScript (JavaScript)
no description available
Submitted by
ABabin
-
6 years ago
2017-06-04 04:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Mattermail - test multiple usernames seperated by comma (,) and spaces (\s)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-04 02:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Chord Pattern
ECMAScript (JavaScript)
Pattern to match ukulele chords, wrapped in square brackets. Examples: [G] [Em] [Dsus2] [Bb] [Ab7sus4]
Submitted by
Kris Paulsen
-
6 years ago
2017-06-03 20:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Lab1 pas compact
Python
no description available
Submitted by
anonymous
-
6 years ago
2017-06-03 19:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Lab1 pas compact
Python
no description available
Submitted by
anonymous
-
6 years ago
2017-06-03 19:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
time
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-03 09:14
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
A revised e-mail validation regular expression
PCRE (PHP <7.3)
This one allows to begin with a digit, however, sometimes e-mail should begin with an *English letter *
Submitted by
anonymous
-
6 years ago
2017-06-03 04:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
trim JSON
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-02 13:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match smiles in text
Python
Smile spec: 1619 informatics
Submitted by
FeDaniil
-
6 years ago
2017-06-02 07:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
层
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-02 06:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find Angular-CLI <script src="*.bundle.js> injected elements
PCRE (PHP <7.3)
Use Case Angular CLI adds in js bundles when a build is performed, one of the bundles are tiny and should be unlined. Using something like gulp-replace that uses regedx to remove, and gulp-inject to rewrite these links ( and inline code ) can be very beneficial for a post build process if you are l...
Submitted by
anonymous
-
6 years ago
2017-06-01 19:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
URL Slugs Optimized
PCRE (PHP <7.3)
This slug regex is optimized using strictly my own opinions. Slugs: Should be english, alphanumeric phrases separated with a single dash. Should not contain single alpha character between dashes....
Submitted by
Jordon Baade
-
6 years ago
2017-06-01 17:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Preços
PCRE (PHP <7.3)
Encontra qualquer preço presente num documento.
Submitted by
anonymous
-
6 years ago
2017-06-01 09:07
1
...
531
532
533
534
535
536
537
...
848
HTML - matches all HTML tags pairs including attributes in the tags
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
<
(
.
|
\n
)*
?
>
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 years ago
2017-04-09 17:43