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 5,500 community submitted regex patterns...
-2
Validating comma delimited strings for whitespaces & extra commas
ECMAScript (JavaScript)
Validating comma delimited strings for whitespaces & extra commas -- +(,()+){0,}
Submitted by
Cyril Mathew
-
9 years ago
1
Valid .bit domain
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Look Forward
Python
Between two strings.
Submitted by
Online Cop
-
9 years ago
-2
Between two strings
Python
Awesome explanation of nested lookbacks
Submitted by
OnlineCop
-
9 years ago
1
arxiv
Python
no description available
Submitted by
anonymous
-
9 years ago
0
Reads C-like comments
Python
Reads C comments as this "/* Do test / and removes / */ parts and leaves only comment part
Submitted by
Shuhrat Rahimov
-
9 years ago
1
Index filtering
ECMAScript (JavaScript)
Une expression pour définir des expressions de filtrage basé sur l'index (comme les numéros de pages dans les dialogues d'impression) Chaque segment de page est séparé par une , Chaque segment peut être sous la forme : : 4 .. : 3.. .. : 2..4...
Submitted by
olivr70
-
9 years ago
-2
Multiple Email Address Validation
ECMAScript (JavaScript)
Validates Multiple email addresses seperated by comma.
Submitted by
Rajesh Badam
-
9 years ago
0
Split by character outside quotes
ECMAScript (JavaScript)
Splits text by a character which is not inside the quotes. Example: foo:"01":"02:03":"04:05:06":"07:08:09:10" ^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^
Submitted by
.iqqmuT
-
9 years ago
0
emailfider
Python
no description available
Submitted by
anonymous
-
9 years ago
0
ipv4 address
ECMAScript (JavaScript)
no description available
Submitted by
Xiaohui Xu
-
9 years ago
-2
match commas between sets or members, but not inside members.
Python
matches only those commas that are between sets, or between members of a set. does not match commas that are inside members.
Submitted by
Amrit Kohli
-
9 years ago
1
DDDD, dd MMMM
ECMAScript (JavaScript)
Friday, 23 October
Submitted by
nehakadam
-
9 years ago
0
space
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
match invalid postcode
Python
match as long as not 5digit code
Submitted by
anonymous
-
9 years ago
1
Parse pgbouncer log lines from syslog
Python
Regex to read pgbouncer's log lines when it's logging to syslog, and break it into useful groups.
Submitted by
Josh Berkus
-
9 years ago
0
Base64 Test
ECMAScript (JavaScript)
Tests a string to see if it fits the Base64 format.
Submitted by
anonymous
-
9 years ago
1
Find C# Namespace
ECMAScript (JavaScript)
Simple regex to find the Namespace line in a C# class.
Submitted by
Erik Bartlow
-
9 years ago
1
Line VTY
Python
Used to search line vty for exec
Submitted by
Hozenya
-
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
...
235
236
237
238
239
...
275
ipv4 address
0
Regular Expression
ECMAScript (JavaScript)
/
(?=
(
\d
{1,3}
\.
){3}
\d
{1,3}
)
(
(?:
(
2
[
0
-
5
]
{2}
|
[
1
]
?
\d
{1,2}
)
)
\.
){3}
(?:
(
2
[
0
-
5
]
{2}
|
[
1
]
?
\d
{1,2}
)
)
(?!
[
\.
\d
]
)
/
g
Open regex in editor
Description
no description available
Submitted by
Xiaohui Xu
-
9 years ago