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 3,560 community submitted regex patterns...
34
123 upvotes, 89 downvotes (score 51.3%) (You must be signed in to vote)
Google like regex
ECMAScript (JavaScript)
Attempts to mimic Google search box behavior, returning an array with the separated search strings (that keep the +/- indicator for following operations)
Submitted by
mettjus
-
9 years ago
2014-05-12 13:35
-3
4 upvotes, 7 downvotes (score 15.2%) (You must be signed in to vote)
111
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-05-05 06:42
-3
5 upvotes, 8 downvotes (score 17.7%) (You must be signed in to vote)
111
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-05-05 06:42
-3
3 upvotes, 6 downvotes (score 12.1%) (You must be signed in to vote)
1111
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-05-05 06:42
-3
3 upvotes, 6 downvotes (score 12.1%) (You must be signed in to vote)
s
ECMAScript (JavaScript)
s
Submitted by
anonymous
-
9 years ago
2014-04-29 20:44
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
ssi tag into html contents with file and virtual directives
ECMAScript (JavaScript)
no description available
Submitted by
Prashant Gaur
-
9 years ago
2014-04-28 09:38
3
6 upvotes, 3 downvotes (score 35.4%) (You must be signed in to vote)
po box
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-04-28 04:13
-3
3 upvotes, 6 downvotes (score 12.1%) (You must be signed in to vote)
Regular Expression For Phone Number Validation
ECMAScript (JavaScript)
no description available
Submitted by
Brian Jemilo II
-
9 years ago
2014-04-23 20:12
1
3 upvotes, 2 downvotes (score 23.1%) (You must be signed in to vote)
12345
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-04-18 03:49
-2
2 upvotes, 4 downvotes (score 9.7%) (You must be signed in to vote)
Select ID from regex101 URL
ECMAScript (JavaScript)
no description available
Submitted by
Vinay
-
9 years ago
2014-04-15 04:39
1
7 upvotes, 6 downvotes (score 29.1%) (You must be signed in to vote)
Select inside <a> tag
ECMAScript (JavaScript)
no description available
Submitted by
Vinay
-
9 years ago
2014-04-15 04:29
72
410 upvotes, 338 downvotes (score 56.4%) (You must be signed in to vote)
Regex for telephone numbers all over the world
Recommended
This entry has been specifically selected by our team to be a great submission
ECMAScript (JavaScript)
Detects most of the phone numbers all over the world
Submitted by
Aditya Joshi
-
9 years ago
2014-04-08 07:58
1
4 upvotes, 3 downvotes (score 25%) (You must be signed in to vote)
gh
ECMAScript (JavaScript)
no description available
Submitted by
ghb
-
9 years ago
2014-04-04 16:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
dsf
ECMAScript (JavaScript)
no description available
Submitted by
fdsfdsfdsf
-
9 years ago
2014-04-02 09:01
2
17 upvotes, 15 downvotes (score 36.4%) (You must be signed in to vote)
Replace \n by <br />
ECMAScript (JavaScript)
Replace non-ending string \n by the HTML tag
Submitted by
anonymous
-
9 years ago
2014-03-27 08:56
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
javascript variable
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-03-25 23:22
3
4 upvotes, 1 downvotes (score 37.6%) (You must be signed in to vote)
Outside Quotes
ECMAScript (JavaScript)
match any string outside of single or double quotes
Submitted by
anonymous
-
10 years ago
2014-03-08 11:13
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Find 'console.' but not 'console.log'
ECMAScript (JavaScript)
no description available
Submitted by
Jay Johnson
-
10 years ago
2014-03-06 18:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find UnCommented Console. Code
ECMAScript (JavaScript)
no description available
Submitted by
Jay Johnson
-
10 years ago
2014-03-06 16:18
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Splits jquery selector, 2nd part is selector of last element
ECMAScript (JavaScript)
no description available
Submitted by
Uzair Farooq
-
10 years ago
2014-02-24 16:07
1
...
173
174
175
176
177
178