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...
1
10 digits
ECMAScript (JavaScript)
10 digits
Submitted by
anonymous
-
9 years ago
1
UID
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
UK Postcode checker
Python
Matches more thoroughly than others in the library. Based on http://stackoverflow.com/questions/164979/uk-postcode-regex-comprehensive. Matches: W1A 1AA, WC2H 7LT, SE50EG
Submitted by
spookypeanut
-
9 years ago
1
Oracle Stored Procedure Name Validator
ECMAScript (JavaScript)
Validates valid Oracle Stored Procedure names
Submitted by
anonymous
-
9 years ago
1
Smoke Detector Regex
Python
Parses Smokey messages
Submitted by
Eyeballcode
-
9 years ago
1
^([a-zA-Z1-9]{1})([a-zA-Z0-9])+:$
ECMAScript (JavaScript)
hexa deciamal number with ending with ( :) a special character
Submitted by
anusha
-
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
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
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
1
Regex SCript replace
ECMAScript (JavaScript)
no description available
Submitted by
MGO
-
9 years ago
1
Currency Detector Python
Python
Currency Detector for Python
Submitted by
Joao Graca
-
9 years ago
1
dd-mm-yyyy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
anti-xss regex
ECMAScript (JavaScript)
this is a white list regex that invalidates input with "=
Submitted by
Ivan Cai
-
9 years ago
(Last modified a year ago)
1
whitespaces and positive numerics
ECMAScript (JavaScript)
//Accepts whitespaces and positive numeric values including integers and decimals(ortional) with 3 precisions only. //Ex: "999", "99999.999", " 999.999" -> ACCEPTABLE
Submitted by
Pubudu (motustudio)
-
9 years ago
1
Match parenthesis
Python
Matches anything wrapped in parenthesis. Can handle nested and consecutive sets of parenthesis.
Submitted by
Nic Roland
-
9 years ago
1
Match pointless spaces in space separated list
ECMAScript (JavaScript)
'test' - no match 'test test' - no match ' test' - match (space at the start) 'test ' - match (space at the end) 'test test' - match (single space in the middle)
Submitted by
J. Harry B.
-
9 years ago
1
...
25
26
27
28
29
...
398
MML
1
Regular Expression
Python
r"
TIMING
ADVANCE
.
+
(
\d
+
)
"
Open regex in editor
Description
no description available
Submitted by
Aron
-
8 years ago