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 18,040 community submitted regex patterns...
1
/slug/id/
PCRE (PHP <7.3)
Match /slug/id or /slug/id/ where id is only numbers and slug only letters and -
Submitted by
Renan Cavalieri
-
9 years ago
1
find digits in float for formatting delimiter position
PCRE (PHP <7.3)
1234567 -> mathces 1 and 4. 1234567.999 -> matches 1 and 4. so you can format it to 1,234,567.999 easily JavaScript:...
Submitted by
Marvin Follmann
-
9 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
-
9 years ago
2
Dir\File.Ext
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Chemstation MS Parsing
PCRE (PHP <7.3)
Parsing of a file created by a Chemstation Instrument
Submitted by
DJ
-
9 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
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)
-
9 years ago
1
SQL LIMIT REMOVE
PCRE (PHP <7.3)
SQL LIMIT REMOVE
Submitted by
Lucas Pinheiro
-
9 years ago
0
Nigerian Phone numbers
PCRE (PHP <7.3)
Regex for validating Nigerian phone numbers using all mobile prefixes in the country
Submitted by
Jubril Edu
-
9 years ago
1
parse nginx log
PCRE (PHP <7.3)
parse nginx log lines into fields
Submitted by
ViKing
-
9 years ago
1
Work Samples
Python
no description available
Submitted by
MH
-
9 years ago
3
Remove br tags inside anchor tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years 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
rtxmap
Python
no description available
Submitted by
MBE
-
9 years ago
1
E-mail validation
ECMAScript (JavaScript)
ab@ab
Submitted by
anonymous
-
9 years ago
1
Validation
ECMAScript (JavaScript)
no description available
Submitted by
Robin Venneman
-
9 years ago
1
Validation
PCRE (PHP <7.3)
no description available
Submitted by
Robin Venneman
-
9 years ago
1
HL7
PCRE (PHP <7.3)
no description available
Submitted by
Brent
-
9 years ago
2
Email Address Matching
PCRE (PHP <7.3)
Picks out valid email addresses from string.
Submitted by
Rob Lester
-
9 years ago
0
Regx5
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
762
763
764
765
766
...
902
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
^
[
0
-
9
]
{1,3}
(
(
\,
[
0
-
9
]
{3}
)*
)
\.
[
0
-
9
]
{2}
$
/
gm
Open regex in editor
Description
Valid: 0.00 123.12 123,123,123.12 123,123,123,123.00
Invalid: 12,1234,123.12 1234,123.12
Submitted by
Benji W J YANG
-
7 years ago