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 7,960 community submitted regex patterns...
2
Date Testing
ECMAScript (JavaScript)
Javascript date regex
Submitted by
anonymous
-
9 years ago
1
BNF for specific URL schemes (httpurl) from rfc1738
Python
This regex represents the httpurl in BNF from rfc1738 (at topic 5). Reference:https://www.ietf.org/rfc/rfc1738.txt
Submitted by
Migueh
-
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
1
localhost ip's with port
Python
Matches localhost ip range with optional port capture: 127.X.X.X or 127.X.X.X:PORT ToDo: check valid ip address.
Submitted by
Rodrigo M. A.
-
9 years ago
1
Trim Whitespace before/after String
ECMAScript (JavaScript)
Remove whitespace before and after the string. Use g for trimming before and after Use m for trimming each line of a multiline string individually. Code: ' test '.replace( /(^\s+|\s+$)/gm, '' );
Submitted by
KevinV
-
9 years ago
1
Look Forward
Python
Between two strings.
Submitted by
Online Cop
-
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
-1
Integer or decimal number
Python
no description available
Submitted by
Rick de L
-
9 years ago
-2
adsf
Python
adfadfad
Submitted by
anonymous
-
9 years ago
1
ISO 8601 Duration Validator
ECMAScript (JavaScript)
Validates format of ISO-8601 duration.
Submitted by
ed0wolf
-
9 years ago
1
Simple global regex
Python
Regex for finding tempratures in a text
Submitted by
anonymous
-
9 years ago
1
number of spaces at beginning of lines
ECMAScript (JavaScript)
find the number of spaces at the beginning of lines in a file.
Submitted by
andy
-
9 years ago
0
URL Query String Parser
ECMAScript (JavaScript)
Parses a URL query string (ignores anything after #) and returns parameters and values separately.
Submitted by
Ross Tracy
-
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
1
Regex SCript replace
ECMAScript (JavaScript)
no description available
Submitted by
MGO
-
9 years ago
1
...
23
24
25
26
27
...
398
Brazilian Phone number
1
Regular Expression
ECMAScript (JavaScript)
/
(?:
\(
?
)
(
[
0
-
9
]
{2}
)
(?:
\)
?
?
)
(
9
?
[
0
-
9
]
{4}
)
(?:
\-
)?
(
[
0
-
9
]
{4}
)
/
g
Open regex in editor
Description
With optional 9 digit
Submitted by
Matheus Gambati
-
8 years ago