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...
0
Add ;
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
How do I not allow special characters, but allow space in regex?
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Function => public static
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
ListOfSourcesSeparatedBySpaces
.NET 7.0 (C#)
A list of sources like accepted by the CSP:frame-ancestors header, plus the keywords of the X-Frame-Options header for some backward compatibility
Submitted by
anonymous
-
5 years ago
(Last modified 8 months ago)
0
TN, get id from url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
BlueCat Get Authentication Token for API Login
Python
no description available
Submitted by
anonymous
-
5 years ago
0
show interfaces status
Python
no description available
Submitted by
anonymous
-
5 years ago
0
PASSPORT
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Extract IIS Site Name and ID From Web-Binding
PCRE (PHP <7.3)
Extract Site Name and ID from the Web-binding information in the ItemXPath field
Submitted by
anonymous
-
5 years ago
0
If x; => if (x){
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Global => public static
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Field => public
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
email
Python
no description available
Submitted by
anonymous
-
5 years ago
0
if (x=x) => if (x==x)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
IPv4 and MAC addresses
PCRE (PHP <7.3)
Match tokens that are either IPv4 addresses or MAC addresses (three formats)
Submitted by
anonymous
-
5 years ago
0
Read Music Directory
PCRE (PHP <7.3)
Can be used to read a file with a list of songs or read a directory of songs for the artist, song title, and the songs format. Assuming there are named in that exact order (i.e. Artist - Title.format) Example: demon.devin - deception.mp3
Submitted by
anonymous
-
5 years ago
0
Autogen PEH Headend
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
VSCode DecorationRenderOptions docs formatting
PCRE (PHP <7.3)
k
Submitted by
anonymous
-
5 years ago
0
func x, x => func (x, x)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
func x, x => func (x, x)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
...
266
267
268
269
270
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
[
0
-
9
]
{3}
-
?
(
C
|
CE
|
CN
|
CW
|
D
|
DL
|
G
|
KE
|
KK
|
KY
|
L
|
LD
|
LH
|
LM
|
LS
|
MH
|
MN
|
MO
|
OY
|
RN
|
SO
|
T
|
W
|
WH
|
WX
|
WW
)
-
?
[
0
-
9
]
{1,6}
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago