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...
1
srt time frame
Python
srt time frame
Submitted by
anonymous
-
9 years ago
1
Name with spaces also useful for city name
ECMAScript (JavaScript)
It will accepts the name with spaces with no limitation and we can also use same for city.
Submitted by
Pravallika Chowdary
-
9 years ago
1
Mobile number with spaces
ECMAScript (JavaScript)
It accepts the mobile no with space upto 13 digits with country code but without + symbol. following are examples 1.9959966566 2.919959966566 3.91 995 996 6566 4.995 996 6566...
Submitted by
Pravallika Chowdary
-
9 years ago
1
Password with limits
ECMAScript (JavaScript)
It will accepts minimum 8 characters, and should have 1 Uppercase letter, 1 Lowercase letter, 1 Number and 1 Special Character.
Submitted by
Pravallika Chowdary
-
9 years ago
1
Zipcode with alphanumeric
ECMAScript (JavaScript)
It Should take 10 numbers and alphabetic characters and numbers only.
Submitted by
Pravallika Chowdary
-
9 years ago
1
ANGULAR IMPORT TYPESCRIPT
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Data URI scheme
PCRE (PHP <7.3)
Simple and not complete pattern for getting the items of a Data URI scheme.
Submitted by
@afoeder
-
9 years ago
1
tag remover
PCRE (PHP <7.3)
remove html tags, while leaving text in between
Submitted by
anonymous
-
9 years ago
1
url segment parsing
PCRE (PHP <7.3)
URL Parsing
Submitted by
Ricardo Cantu
-
9 years ago
1
Gaddafi
PCRE (PHP <7.3)
Matches all spellings of the name Gaddafi that I've yet discovered.
Submitted by
Klisz
-
9 years ago
1
match @user but not email@example.com
PCRE (PHP <7.3)
for finding user mentions in markdown-like comments
Submitted by
Holger Schmidt (https://github.com/forger)
-
9 years ago
1
Teaching potatoes how to search
Python
You see how it matches the hit ratio line? Yeah m8, that simple
Submitted by
11" Mipsmagician
-
9 years ago
1
Text by word tail-trimming regex pattern
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
URL Match and split
PCRE (PHP <7.3)
match any type of url and split each part (protocol, domain, page, GET, and ID) in capture groups
Submitted by
anonymous
-
9 years ago
1
remove specific div
Python
removes divs of the print class
Submitted by
Nicolaj
-
9 years ago
1
<a href="([^"]*)"[^<]*>(?:(?!<\/?a\b[^<]*>)[\s\S])*<img src="([^"]*)"\
PCRE (PHP <7.3)
no description available
Submitted by
Ivan Vlajic
-
9 years ago
1
Liberal URL detector
PCRE (PHP <7.3)
Detects almost all URLs contained in a sentence
Submitted by
https://gist.github.com/gruber
-
9 years ago
1
Todo Comments
ECMAScript (JavaScript)
no description available
Submitted by
Marvin Hagemeister
-
9 years ago
1
Getting video urls from content
PCRE (PHP <7.3)
For use on wordpress on multisite. Finds mp4 videos within the content.
Submitted by
Mike Kormendy
-
9 years ago
1
men
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
708
709
710
711
712
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(?<dayname>
[
A
-
Za
-
z
]
{3}
)
\s
(?<month>
[
A
-
Za
-
z
]
{3}
)
\s
(?<dayofmonth>
\d
{2}
)
\s
(?<hour>
\d
{2}
)
:
(?<minutes>
\d
{2}
)
:
(?<seconds>
\d
{2}
)
(?:
\.
(?<milliseconds>
\d
*
)
)?
\s
(?<year>
\d
{4}
)
/
i
Open regex in editor
Description
Parse the date from an Apache Error Log in the format of "Wed Jun 01 20:05:21.12345 2016"
Submitted by
garys
-
9 years ago