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
Community Patterns
Search among 13,860 community submitted regex patterns...
1
Bulgarian date "dd mmmm yyyy" format
Python
Parse a bulgarian date following the "dd mmmm yyyy" format.
Submitted by
Tantale
-
9 years ago
1
Long slovak date with the "dd. mmmm yyy" format
Python
Match a slovak date following the "dd. mmmm yyy" format.
Submitted by
Tantale
-
9 years ago
1
Window Spacer type
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 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
-
9 years ago
1
URL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Date and time capturer
PCRE (PHP <7.3)
Works for the Julian calendar, dates between 0000-01-01 and 9999-12-31. Includes my birth date in the 4th example.
Submitted by
luis140219 on GitHub
-
9 years ago
7
validate US (5 & 9 digit) ZipCodes and CA PostalCodes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Some OR regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Music Chord
PCRE (PHP <7.3)
Find Music Chord
Submitted by
Mins
-
9 years ago
1
MySQLcase
Python
make sure mysql tables have the correct form
Submitted by
d
-
9 years ago
1
parse discuz video codes
PCRE (PHP <7.3)
no description available
Submitted by
Paul Wang
-
9 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
-
9 years ago
1
SO Question
PCRE (PHP <7.3)
SO Question
Submitted by
PaperBirdMaster
-
9 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
-
9 years ago
1
remove link from discuz quoted message
PCRE (PHP <7.3)
no description available
Submitted by
Paul Wang
-
9 years ago
1
Phone Guatemala
PCRE (PHP <7.3)
Regex for phones in Guatemala
Submitted by
Rodrigo Polo
-
9 years ago
1
Strip / Delete / Remove / empty paragraphs
PCRE (PHP <7.3)
You can format p:empty paragraphs with CSS, but sometimes they are not completely empty. This is meant to remove those.
Submitted by
SocialBlogsiteWebDesign.com
-
9 years ago
1
30164958
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
StackOverflow answer for: How can I parse an attribute string to an ar
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
foreach
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
650
651
652
653
654
...
693
Extract domain name
0
Regular Expression
PCRE (PHP <7.3)
/
^
(?:
https
?
:
\/\/
)?
(?:
[^
@
\/
\n
]
+
@
)?
(?:
www
\.
)?
(
[^
:
\/
\n
]
+
)
/
im
Open regex in editor
Description
extracting domain name from url
Submitted by
anonymous
-
8 years ago