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
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 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 3,620 community submitted regex patterns...
0
Phone number
ECMAScript (JavaScript)
no description available
Submitted by
Vaseker
-
8 years ago
0
lookahead not match 'aa'
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Amazon.ca Order Total
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Extract values from hostname
ECMAScript (JavaScript)
no description available
Submitted by
Matthew Ledbetter
-
8 years ago
0
Parse out a URL for optional values
ECMAScript (JavaScript)
Tokenize a HostName for optional string values. Good for testing whether you are in np, qa, qp, or production environments.
Submitted by
Matthew Ledbetter
-
8 years ago
0
To work with comma separated lists
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Parse OTP from QR Code
ECMAScript (JavaScript)
This regular expression parses the uri of an one-time password typically masked by a QR Code. The expression supports the core hotp and totp, name, secret and optional counter (for hotp)
Submitted by
Carsten and Craig
-
8 years ago
0
JAPANESE ZENKAKU KANA ONLY
ECMAScript (JavaScript)
NOT ALLOW HANKAKU CHARACTOR
Submitted by
nobuhiko futagami
-
8 years ago
1
Naming
ECMAScript (JavaScript)
Naming
Submitted by
Matt
-
8 years ago
0
isDateTime
ECMAScript (JavaScript)
Validação: Data d/m/yy d/mm/yyyy dd/m/yyyy dd/mm/yy...
Submitted by
Rafael Fischer
-
8 years ago
0
isDate
ECMAScript (JavaScript)
Validador de Data e Hora
Submitted by
Rafael Fischer
-
8 years ago
1
ISO 8601 Duration Validator
ECMAScript (JavaScript)
Validates format of ISO-8601 duration.
Submitted by
ed0wolf
-
8 years ago
1
URL Segment Matching for rewrites
ECMAScript (JavaScript)
no description available
Submitted by
jim
-
8 years ago
1
user-agent tester
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
\d{4}(0[1-9]|1[0-2])(0[1-9]|[1-2]\d|30|31)T([01]\d|2[0-3])[0-5]\d[0-5]
ECMAScript (JavaScript)
yyyymmddThhmmss
Submitted by
suman
-
8 years ago
1
uri validate with a prefix
ECMAScript (JavaScript)
no description available
Submitted by
Roger Wyss
-
8 years ago
2
find action,form,forward struts
ECMAScript (JavaScript)
find action,form,forward struts Remplace @ACTION@ = action struts Remplace @FORM@ = form name struts Remplace @FORWARD@ = forward name struts
Submitted by
anonymous
-
8 years ago
2
Date between 1950 and 2050
ECMAScript (JavaScript)
Date in format MM-dd-yyyy
Submitted by
Daniel Quijada
-
8 years ago
1
RFC Persona Moral
ECMAScript (JavaScript)
no description available
Submitted by
Carlos Zaragoza
-
8 years ago
1
RFC Persona Fisica
ECMAScript (JavaScript)
no description available
Submitted by
Carlos Zaragoza
-
8 years ago
1
...
152
153
154
155
156
...
181
ECMAScript/JavaScript trim
106
Regular Expression
ECMAScript (JavaScript)
/
^
[
\s
]
*
(
.
*
?
)
[
\s
]
*
$
/
Open regex in editor
Description
Trim leading and trailing whitespace from a string.
Submitted by
fp
-
11 years ago
(Last modified 9 days ago)