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...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
business phone number
ECMAScript (JavaScript)
format (xxx) xxx-xxxx reg- /^\(\d{3}\) \d{3}-\d{4}$/
Submitted by
Sarath
-
8 years ago
2015-12-28 12:23
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Match 0-100
ECMAScript (JavaScript)
http://stackoverflow.com/questions/34474298/regex-match-pattern-with-prefixed-string/34474387#34474325
Submitted by
anonymous
-
8 years ago
2015-12-26 19:25
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Email
ECMAScript (JavaScript)
validate email address
Submitted by
anonymous
-
8 years ago
2015-12-23 18:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
city names
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-12-23 16:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
email for .com & .co.in
ECMAScript (JavaScript)
email validation
Submitted by
Chanti
-
8 years ago
2015-12-21 05:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Parse .so libraries from binary file
ECMAScript (JavaScript)
Multi-occurance / Multiline Match and list all ".so" files from Android APK binary.
Submitted by
Mayur Pipaliya
-
8 years ago
2015-12-20 14:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
camelCase to hyphen-case
ECMAScript (JavaScript)
Note that title case (TitleCase) will have leading hypens (-title-case)
Submitted by
cyberbit
-
8 years ago
2015-12-18 21:32
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Singapore Phone
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-12-18 02:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
-
ECMAScript (JavaScript)
hjk
Submitted by
hjk
-
8 years ago
2015-12-17 08:33
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Url parser and validator
ECMAScript (JavaScript)
Validate an url with hostname or ip and port. Furthermore provides: the entire url the protocol the hostname/ip the port...
Submitted by
Antonino Sirchia
-
8 years ago
2015-12-16 15:14
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
whitespaces and positive numerics (3 precisions accpet . or ,)
ECMAScript (JavaScript)
//Accepts whitespaces and positive numeric values including integers and decimals(dot or comma optional) with 3 precisions only. //Ex: "999", " 999.999", " 999.999", " 999,999", " 999,999" -> ACCEPTABLE
Submitted by
Pubudu (motustudio)
-
8 years ago
2015-12-16 07:17
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
whitespaces and positive numerics
ECMAScript (JavaScript)
//Accepts whitespaces and positive numeric values including integers and decimals(ortional) with 3 precisions only. //Ex: "999", "99999.999", " 999.999" -> ACCEPTABLE
Submitted by
Pubudu (motustudio)
-
8 years ago
2015-12-15 15:06
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
E-mail validation
ECMAScript (JavaScript)
ab@ab
Submitted by
anonymous
-
8 years ago
2015-12-14 22:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Validation
ECMAScript (JavaScript)
no description available
Submitted by
Robin Venneman
-
8 years ago
2015-12-14 21:41
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
get bendon link
ECMAScript (JavaScript)
no description available
Submitted by
Emin
-
8 years ago
2015-12-14 03:13
1
3 upvotes, 2 downvotes (score 23.1%) (You must be signed in to vote)
match non-alphanumeric in string
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-12-11 18:48
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Date 01
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-12-11 14:02
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
anti-xss regex
ECMAScript (JavaScript)
this is a white list regex that invalidates input with "=
Submitted by
Ivan Cai
-
8 years ago
2015-12-11 03:58
(Last modified 4 months ago)
2023-07-24 23:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
123
ECMAScript (JavaScript)
fsd
Submitted by
fds
-
8 years ago
2015-12-10 13:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
regex date_time
ECMAScript (JavaScript)
expression régulière pour les dates et les heures précises au millionième de seconde
Submitted by
Master
-
8 years ago
2015-12-10 13:28
1
...
144
145
146
147
148
149
150
...
178
Replace comma separated decimals (comma instead of point)
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
(
[
\,
]
?
)
(
.
*
?
)
,
(
.
*
?
)
,
(
.
*
?
)
,
(
[^
,
\n
]
+
)
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
Bruno A. Castro
-
8 years ago
2015-12-09 14:00