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 9,540 community submitted regex patterns...
0
Remove repetitions from plain array
PCRE (PHP <7.3)
Remove repeated elements from a plain JSON array.
Submitted by
Icaro Niz
-
10 years ago
0
1
PCRE (PHP <7.3)
1
Submitted by
1
-
10 years ago
0
messenger facebook without facebook
PCRE (PHP <7.3)
iwant to block fcaebook messenger in layer7
Submitted by
anonymous
-
10 years ago
0
search file extention
PCRE (PHP <7.3)
search file extention
Submitted by
fau
-
10 years ago
0
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Pig Latin regex
PCRE (PHP <7.3)
I got really bored so I made this (not so fancy) pig latin generator
Submitted by
jojodmo
-
10 years ago
0
Password check - at least 1 char, 1 numeric, 8-64 chars long
PCRE (PHP <7.3)
Allows for a wide range of special characters. If you want it to have no upper bound, remove the 64 (but leave the 8,.
Submitted by
Peter Speden
-
10 years ago
0
french phone number (locale format)
PCRE (PHP <7.3)
little matcher for french phone number in locale format (example: 0231348228)
Submitted by
Nolwennig
-
10 years ago
0
For justin
PCRE (PHP <7.3)
dis is why you match shit lots
Submitted by
anonymous
-
10 years ago
0
URL to link
PCRE (PHP <7.3)
http://blog.jmsinfo.co/?d=2015/02/16/10/17/49
Submitted by
Mickaƫl S.
-
10 years ago
0
check if a string starts with an integer, then hyphen, then anything
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Get the root of a Windows path
PCRE (PHP <7.3)
This extracts the "root" (e.g. drive) from a Windows path. See the unit tests for examples
Submitted by
J5lx
-
10 years ago
0
Convert PHP var to array
PCRE (PHP <7.3)
I use this regex to quickly convert the class' variables into a string which is usable with the "function" array. I copy-paste the varialbe name and use this regex. Useful to convert all your variable and put it in the magic function __sleep(). After it, you can delete the variables you don't want.
Submitted by
anonymous
-
10 years ago
0
Improved RegEx101 ID Grabber
PCRE (PHP <7.3)
Grabs the ID and revision from the URL.
Submitted by
RF
-
10 years ago
0
html tags with exclusions
PCRE (PHP <7.3)
Matches any text starts with ""; Tag exclusions described in first non-capturing group (can be removed); Tag name will be captured by group #1;
Submitted by
Pavel Savkin aka nhaizere
-
10 years ago
0
year match
PCRE (PHP <7.3)
2010-2012
Submitted by
tazbir
-
10 years ago
0
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
File name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
YouTube Video ID + URL validator
PCRE (PHP <7.3)
Verifies YouTube video links AND pulls the video ID from them in a matching group. Works with all capitalizations. It also matches the WHOLE link but sorts the video ID into a group. Works with JavaScript, PHP and Python. (Not tested with any other Regex engine) ...
Submitted by
Billy Venner
-
10 years ago
0
brian
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
16
17
18
19
20
...
477
Community Library Entry
3
Regular Expression
Golang
`
(?i)
^
(?:
(
[
a
-
z0
-
9-
]
+
|
\*
)
\.
)?
(
[
a
-
z0
-
9-
]
{1,61}
)
\.
(
[
a
-
z0
-
9
]
{2,7}
)
$
`
gm
Open regex in editor
Description
Validates subdomain, root domain, and wild card domains
Submitted by
AnonymousDapper
-
8 years ago