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 3,180 community submitted regex patterns...
0
KUN task name tempalte
PCRE2 (PHP >=7.3)
Quick template to name a KUN task
Submitted by
yimao
-
3 years ago
0
Email address formats
PCRE2 (PHP >=7.3)
Validates a few unregular formats of email.
Submitted by
Oren Zur-Shavit
-
3 years ago
0
Regix xinj xof
PCRE2 (PHP >=7.3)
Bebebe
Submitted by
anonymous
-
3 years ago
0
Network Path + File
PCRE2 (PHP >=7.3)
Checks if string is format like a network path and file (like //networkdrive/folder/folder/file.csv)
Submitted by
anonymous
-
3 years ago
0
Youtube Regex
PCRE2 (PHP >=7.3)
Regex for youtube pattern
Submitted by
Suraj Shah
-
3 years ago
0
Find *.cue files and split FLAC files
PCRE2 (PHP >=7.3)
Find *.cue files and split FLAC files
Submitted by
anonymous
-
3 years ago
0
Don't allow two consecutive "."
PCRE2 (PHP >=7.3)
Don't allow two consecutive .
Submitted by
Pythack
-
3 years ago
0
Valid email address in Go
Golang
A regexp to validate an email address according to https://html.spec.whatwg.org/#valid-e-mail-address . Note that the backslash in the name part of the regexp on that site is there to escape the forward slash, which is not needed in Go. EDIT: This is newer than the version at https://regex101.com/l...
Submitted by
markus@maragu.dk
-
3 years ago
0
Separator Regex
PCRE2 (PHP >=7.3)
Separator regex
Submitted by
anonymous
-
3 years ago
0
Look ahead conditional
PCRE2 (PHP >=7.3)
/333 or /333/333
Submitted by
anonymous
-
3 years ago
0
clean subtitles
PCRE2 (PHP >=7.3)
clean tags from subtitles
Submitted by
watcher
-
3 years ago
0
Get default profiles folder name from Firefox profiles.ini
PCRE2 (PHP >=7.3)
With standard Firefox and Firefox-Dev installation, default profiles folders should be casual characters dot "default-release" or "dev-edition-default". To restore a backup you must past the content of the old folder to those folders, only the content. So this ways I get the folders after opened the...
Submitted by
globdug
-
3 years ago
0
The words between two substring
PCRE2 (PHP >=7.3)
The words between two substring
Submitted by
Sandro Conte
-
3 years ago
0
02.07.b)
PCRE2 (PHP >=7.3)
02.07. FMUSI
Submitted by
anonymous
-
3 years ago
0
EMDG LONG_TEXT
PCRE2 (PHP >=7.3)
1 - 256 tegn er tilladt
Submitted by
anonymous
-
3 years ago
0
Regex head tags contents
PCRE2 (PHP >=7.3)
Regex head tags contents
Submitted by
anonymous
-
3 years ago
0
location
PCRE2 (PHP >=7.3)
locaiton regex
Submitted by
chenxi
-
3 years ago
0
Brazil's Documents
PCRE2 (PHP >=7.3)
Documents of the Brazil
Submitted by
anonymous
-
3 years ago
0
Indian Phone Numbers
PCRE2 (PHP >=7.3)
Regex to identify 10 digit phone numbers in India.
Submitted by
anonymous
-
3 years ago
0
IPv4 address
PCRE2 (PHP >=7.3)
Matches any IPv4 address.
Submitted by
Piwi
-
3 years ago
(Last modified 3 years ago)
1
...
20
21
22
23
24
...
159
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