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 13,000 community submitted regex patterns...
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
Search string parser (PHP).
PCRE (PHP <7.3)
A simple regexp to parse a search string. It will split the search string into an array of search terms. Each search term will be represented by an array containing 3 strings: ...
Submitted by
@bananascript
-
9 years ago
2014-11-17 13:52
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Cross-Platform Simple Email Validator
PCRE (PHP <7.3)
Not perfect, but solid and cross platform
Submitted by
anonymous
-
9 years ago
2014-11-17 09:02
1
3 upvotes, 2 downvotes (score 23.1%) (You must be signed in to vote)
Simple Email Validation
ECMAScript (JavaScript)
Does not match everything, but good for a cross-platform validation filter.
Submitted by
anonymous
-
9 years ago
2014-11-17 08:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Temp
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-11-16 12:48
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
incorrect number regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-11-16 05:11
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
replace only inner text without tag element
PCRE (PHP <7.3)
no description available
Submitted by
A.K. Asik
-
9 years ago
2014-11-15 22:59
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
replace only inner text without tag element
PCRE (PHP <7.3)
no description available
Submitted by
A.K. Asik
-
9 years ago
2014-11-15 22:59
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Simple first exercise of a newbie
ECMAScript (JavaScript)
Find a group of 9 letters subdivided in groups of three by a dash.
Submitted by
Nicola Jelmorini
-
9 years ago
2014-11-15 12:31
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
Deleting everything except words starting with “#â€
PCRE (PHP <7.3)
no description available
Submitted by
A. K. Asik
-
9 years ago
2014-11-15 11:13
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Mustafa Özcan
PCRE (PHP <7.3)
mustafa özcan
Submitted by
<a href="http://www.mustafaozcan.info/" title="mustafa özcan">mustafa
-
9 years ago
2014-11-14 12:42
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
IPv4 private network address
PCRE (PHP <7.3)
Check if the given string is a private address
Submitted by
Loïc Rameau
-
9 years ago
2014-11-14 08:55
-1
4 upvotes, 5 downvotes (score 18.9%) (You must be signed in to vote)
street address Checker and fetcher
PCRE (PHP <7.3)
Check provided street address is valid or not and also fetch it's all components.
Submitted by
Dilip Borad
-
9 years ago
2014-11-14 07:18
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Extract ids (values) with regex
PCRE (PHP <7.3)
no description available
Submitted by
A. K. Asik
-
9 years ago
2014-11-14 07:13
3
5 upvotes, 2 downvotes (score 35.9%) (You must be signed in to vote)
javascript template replacement
ECMAScript (JavaScript)
no description available
Submitted by
akamaozu
-
9 years ago
2014-11-14 06:21
0
3 upvotes, 3 downvotes (score 18.8%) (You must be signed in to vote)
Regex Mobile Number Validation Code
PCRE (PHP <7.3)
no description available
Submitted by
A.K. Asik
-
9 years ago
2014-11-13 21:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
smiley
PCRE (PHP <7.3)
no description available
Submitted by
@barraponto
-
9 years ago
2014-11-13 20:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Dotted Quad
PCRE (PHP <7.3)
IP PCRE
Submitted by
Awkwardly Scripted
-
9 years ago
2014-11-13 19:49
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Finding a string along with a few other words
PCRE (PHP <7.3)
no description available
Submitted by
A.K. Asik
-
9 years ago
2014-11-13 19:31
4
4 upvotes, 0 downvotes (score 51%) (You must be signed in to vote)
parsing a numeric strings with backslash using regexp
PCRE (PHP <7.3)
no description available
Submitted by
A.K. Asik
-
9 years ago
2014-11-13 17:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Phone
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-11-13 09:50
1
...
620
621
622
623
624
625
626
...
650
match sequential characters
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
^
[
+-
]
?
(
(
0
\.
\d
+
)
|
(
[
1
-
9
]
+
(
\d
?
\.
\d
+
)?
)
)
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
JC
-
9 years ago
2014-11-09 21:06