Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 3,780 community submitted regex patterns...
3
mm/dd/yyyy Date
ECMAScript (JavaScript)
no description available
Submitted by
jay johnson
-
11 years ago
0
Phone area code - prefix - number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
1
SSN
ECMAScript (JavaScript)
no description available
Submitted by
jay johnson
-
11 years ago
-2
non-negative integer
ECMAScript (JavaScript)
repeat ... refactor
Submitted by
jay johnson
-
11 years ago
1
non negative integers
ECMAScript (JavaScript)
no description available
Submitted by
jay johnson
-
11 years ago
15
us postal/zip
ECMAScript (JavaScript)
no description available
Submitted by
jay johnson
-
11 years ago
5
Accept url without www
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
1
Matching an Email
ECMAScript (JavaScript)
no description available
Submitted by
appsunited
-
11 years ago
7
Split quotes and single words
ECMAScript (JavaScript)
Find " and ' quoted strings and "orphaned"/single words in a string
Submitted by
LoveIsGrief
-
11 years ago
1
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
-
11 years ago
1
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
-
11 years ago
6
Password
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
(Last modified a year ago)
3
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
-
11 years ago
2
sample
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
1
js
ECMAScript (JavaScript)
no description available
Submitted by
sd
-
11 years ago
4
Match Brackets and anything inside
ECMAScript (JavaScript)
no description available
Submitted by
andreayang
-
11 years ago
1
get image with classname
ECMAScript (JavaScript)
no description available
Submitted by
@cloverink
-
11 years ago
1
Anom
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
0
Simple
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
-1
Find image style
ECMAScript (JavaScript)
style img
Submitted by
anonymous
-
11 years ago
1
...
186
187
188
189
Community Library Entry
107
Regular Expression
ECMAScript (JavaScript)
/
^
[
\t
]
+
|
[
\t
]
+
$
/
gm
Open regex in editor
Description
Trim leading and trailing whitespace from a string.
Submitted by
fp
-
11 years ago
(Last modified 3 months ago)