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,480 community submitted regex patterns...
1
6 upvotes, 5 downvotes (score 28%) (You must be signed in to vote)
SSN
ECMAScript (JavaScript)
no description available
Submitted by
jay johnson
-
10 years ago
2014-01-16 20:04
-2
3 upvotes, 5 downvotes (score 13.7%) (You must be signed in to vote)
non-negative integer
ECMAScript (JavaScript)
repeat ... refactor
Submitted by
jay johnson
-
10 years ago
2014-01-16 19:16
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
non negative integers
ECMAScript (JavaScript)
no description available
Submitted by
jay johnson
-
10 years ago
2014-01-16 19:10
14
20 upvotes, 6 downvotes (score 57.9%) (You must be signed in to vote)
us postal/zip
ECMAScript (JavaScript)
no description available
Submitted by
jay johnson
-
10 years ago
2014-01-13 22:15
5
11 upvotes, 6 downvotes (score 41.3%) (You must be signed in to vote)
Accept url without www
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2014-01-10 05:30
1
5 upvotes, 4 downvotes (score 26.7%) (You must be signed in to vote)
Matching an Email
ECMAScript (JavaScript)
no description available
Submitted by
appsunited
-
10 years ago
2014-01-05 09:09
6
10 upvotes, 4 downvotes (score 45.4%) (You must be signed in to vote)
Split quotes and single words
ECMAScript (JavaScript)
Find " and ' quoted strings and "orphaned"/single words in a string
Submitted by
LoveIsGrief
-
10 years ago
2013-12-29 18:41
1
7 upvotes, 6 downvotes (score 29.1%) (You must be signed in to vote)
Replace second (or further) html statement in a whole code
ECMAScript (JavaScript)
This regex replace the second tag content which has the prefix ":". If you want to replace the third, just increase the statement {1} to {2}, and so go on.
Submitted by
Caio Oliveira
-
10 years ago
2013-12-29 08:56
1
4 upvotes, 3 downvotes (score 25%) (You must be signed in to vote)
regular expression to replace except text from html tags
ECMAScript (JavaScript)
expression to look for words in innerText & not in html tags as id or class or style name
Submitted by
umarfarukh
-
10 years ago
2013-12-27 09:25
6
150 upvotes, 144 downvotes (score 45.3%) (You must be signed in to vote)
Password
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2013-12-06 14:02
(Last modified 5 months ago)
2023-07-21 04:59
3
4 upvotes, 1 downvotes (score 37.6%) (You must be signed in to vote)
Extract asp label
ECMAScript (JavaScript)
I am trying to extract the asp:label syntax using Regex but I am getting some error can some one help me
Submitted by
anonymous
-
10 years ago
2013-12-02 05:53
2
7 upvotes, 5 downvotes (score 32%) (You must be signed in to vote)
sample
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2013-11-27 09:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
js
ECMAScript (JavaScript)
no description available
Submitted by
sd
-
10 years ago
2013-11-26 08:19
4
8 upvotes, 4 downvotes (score 39.1%) (You must be signed in to vote)
Match Brackets and anything inside
ECMAScript (JavaScript)
no description available
Submitted by
andreayang
-
10 years ago
2013-11-19 18:43
1
6 upvotes, 5 downvotes (score 28%) (You must be signed in to vote)
get image with classname
ECMAScript (JavaScript)
no description available
Submitted by
@cloverink
-
10 years ago
2013-11-05 09:22
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Anom
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2013-10-12 10:33
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Simple
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2013-10-12 10:33
-1
4 upvotes, 5 downvotes (score 18.9%) (You must be signed in to vote)
Find image style
ECMAScript (JavaScript)
style img
Submitted by
anonymous
-
10 years ago
2013-10-08 17:57
3
10 upvotes, 7 downvotes (score 36%) (You must be signed in to vote)
HTML image tag src
ECMAScript (JavaScript)
Capture src attribute of HTML image tags
Submitted by
Simon Altschuler
-
10 years ago
2013-10-08 17:29
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Error in Refex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2013-10-02 05:20
1
...
170
171
172
173
174
TAP Result Log issue
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
.NET (C#)
@"
(
[
+-
]
?
(?=
\.
\d
|
\d
)
(?:
\d
+
)?
(?:
\.
?
\d
*
)?
(?:
[
eE
]
[
+-
]
?
\d
+
)
)
"
g
Open regex in editor
Description
Loading markdown...
Submitted by
Darwin Subramaniam
-
a year ago
2022-11-15 03:28
(Last modified a year ago)
2022-11-15 08:43