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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 8,340 community submitted regex patterns...
2
Date Testing
ECMAScript (JavaScript)
Javascript date regex
Submitted by
anonymous
-
9 years ago
2
Ontario Licence Class Combinations
Python
In Ontario, Canada, license classes are combined on the drivers license. This regex will parse out individual classes from the combination.
Submitted by
Gregory Holley
-
9 years ago
2
Markup link
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
yowsup-cli message parsing
Python
This pattern parses the yowsup-cli message output to recover (otherwise lost) messages. Current yowsup version: v2.4
Submitted by
kerel
-
9 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
-
9 years ago
2
Argentine postal code validation
Python
validation for Argentina postal codes, previous four digits + new CPA
Submitted by
jpaulini
-
9 years ago
2
math chain comparisons with optional matched paren
Python
no description available
Submitted by
anonymous
-
9 years ago
2
US City Validation
ECMAScript (JavaScript)
United States City name validation
Submitted by
Jagadesh
-
9 years ago
2
Fecha ISO
ECMAScript (JavaScript)
Comprueba si una fecha está en formato ISO: aaaa/mm/dd. Obtiene 3 datos: 1=año; 2=mes; 3=dia, para su cambio al formato español dd/mm/aaaa. Detecta si el mes y el día pueden existir (no incluye mes febrero ni bisiestos)
Submitted by
Alfonso
-
9 years ago
2
preprocess text files to include only readable and text words
Python
for large corpus cleaning
Submitted by
aliabbas petiwala
-
9 years ago
2
parse tag data with multiline
Python
parse tag data with multiline
Submitted by
Ali GÖREN
-
9 years ago
2
Simple domain.tld tester
ECMAScript (JavaScript)
For testing domain with TLD regExp.test("google.com") => true regExp.test("mad.engineering") => true
Submitted by
Sergio de la Garza
-
9 years ago
2
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
2
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
2
Angular 2 property access
ECMAScript (JavaScript)
no description available
Submitted by
jros
-
8 years ago
2
file extension validation
ECMAScript (JavaScript)
no description available
Submitted by
Lisa
-
8 years ago
2
pdf url link
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2
get file Extensions
ECMAScript (JavaScript)
var fileExtensionPatter = /\.([0-9a-z]+)(?=[?#])|(\.)(?:[\w]+)$/ var ma1 = 'css/global.css?v=1.2'.match(fileExtensionPatter)[0]; console.log(ma1); // return .css ...
Submitted by
Ahbap Aldırmaz
-
8 years ago
2
Delimite a number with 3-digital block
ECMAScript (JavaScript)
no description available
Submitted by
Willy
-
8 years ago
2
Parse string like: "[!type|name] http://some.url/to.file"
ECMAScript (JavaScript)
http://some.url/to.file [!css|name]http://some.url/to.file [!css] http://some.url/to.file ...
Submitted by
Max Chuhryaev
-
8 years ago
1
...
400
401
402
403
404
...
417
Currency with dollar sign, two decimals, negative allowed, starting with period ok
2
Regular Expression
ECMAScript (JavaScript)
/
^
(?:
[
$
]
(
\s
{0,1}
)
|)
[
+-
]
?
(
\d
{1,3}
,
?
(
\d
{3}
,
?
)*
\d
{3}
(
\.
\d
{0,2}
)?
|
\d
{1,3}
(
\.
\d
{0,2}
)?
|
\.
\d
{1,2}
?
)
$
/
gm
Open regex in editor
Description
Currency with dollar sign, two decimals, negative allowed, starting with period ok
Submitted by
Natalia Zolotareva
-
2 years ago