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. Click
here
to read more.
Community Patterns
Search among 13,020 community submitted regex patterns...
0
BM tag
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
HourlyRegex - 7 props
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
Starbucks
ECMAScript (JavaScript)
no * before the name
Submitted by
anonymous
-
5 years ago
0
space between words in sentence
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
h3 title remove action
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
title
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
CC Validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
nic-locate
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
location
PCRE (PHP <7.3)
(?<=^|)((?:[\w$]+(?:\((?:\(\))\)|\[\[]+\])*?\.)+)((?:host|hostname|href|protocol|origin|port))\b
Submitted by
anonymous
-
5 years ago
0
email validation (RFC 5322)
ECMAScript (JavaScript)
Tries to match RFC 5322 as well as possible
Submitted by
anonymous
-
5 years ago
0
subpattern recurisive
PCRE (PHP <7.3)
using the recursive is outside of the capturing groups
Submitted by
anonymous
-
5 years ago
0
sub-pattern recursive with group backreference
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
Asterisk Channel
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Weekend Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
badge2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Swap icon into timeago icon
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Remove timeago icon
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
TImeago to UI
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
5 Days Regex - Final
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Idpoint ВСП
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
...
231
232
233
234
235
...
651
Validating comma delimited strings for whitespaces & extra commas
-2
Regular Expression
ECMAScript (JavaScript)
/
[^
,
\s
]
+
(
,
(
[^
,
\s
]
)+
){0,}
/
Open regex in editor
Description
Validating comma delimited strings for whitespaces & extra commas -- [^,\s]+(,([^,\s])+){0,}
Submitted by
Cyril Mathew
-
9 years ago