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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 2,740 community submitted regex patterns...
1
GUID Identifier
PCRE2 (PHP >=7.3)
GUID Identifier
Submitted by
Fredrik Wallander
-
5 months ago
1
Remove Country Code (Genesys DIalplan)
PCRE2 (PHP >=7.3)
Xformation rule on Trunk level
Submitted by
Istvan Laszlo
-
5 months ago
1
regex tokopedia shortlink affiliate
PCRE2 (PHP >=7.3)
regex for tokopedia shortlink affiliate
Submitted by
ival
-
5 months ago
1
regex tokopedia longlink
PCRE2 (PHP >=7.3)
regex tokopedia longlink
Submitted by
ival
-
5 months ago
1
Parse raw http request line
PCRE2 (PHP >=7.3)
Parse raw http request line
Submitted by
Dimas Lanjaka
-
5 months ago
1
postgres regex
PCRE2 (PHP >=7.3)
He simply validate a uri for consuming an azure db
Submitted by
anonymous
-
5 months ago
1
PCRE2 (PHP >=7.3)
$ python -m aeneas.tools.execute_task --examples
Submitted by
anonymous
-
5 months ago
1
Detect version of Chrome browser in navigator.userAgent
PCRE2 (PHP >=7.3)
Detect version of Chrome browser in navigator.userAgent
Submitted by
Avaray
-
5 months ago
1
Match all HTML heading elements and capture their titles
.NET 7.0 (C#)
Useful for matching/finding and capturing/extracting the titles of HTML heading elements. This was used to identify all heading elements within the body of a web page for the purposes of generating a Table of Contents for the page. Note: This expression could be altered for different HTML element ta...
Submitted by
Darius Liktorius
-
5 months ago
1
http search locale
PCRE2 (PHP >=7.3)
search locale in http
Submitted by
anonymous
-
5 months ago
1
ActivityWatcher
.NET 7.0 (C#)
sda
Submitted by
anonymous
-
5 months ago
1
.*(EXCEL[.]EXE).*(?i)(Maxicredito).*([.]xlsx - Excel)
.NET 7.0 (C#)
.(EXCEL[.]EXE).(?i)(Maxicredito).*([.]xlsx - Excel)
Submitted by
anonymous
-
5 months ago
1
French mobile phone numbers
PCRE2 (PHP >=7.3)
French mobile phone numbers
Submitted by
anonymous
-
5 months ago
1
Hungarian regular and vanity license plates both from 1990 and 2022 series
PCRE2 (PHP >=7.3)
All regular and vanity Hungarian plates are included from 1990 and from 2022. Special plates (customs, lost, diplomatic and so on), police, ambulance, etc. are not included.
Submitted by
gergelyfuzi
-
5 months ago
1
hentialheroes id girl tag
PCRE2 (PHP >=7.3)
reading the id tag from the girl harem html
Submitted by
anonymous
-
5 months ago
1
https://shopee.com.my/minhao3313
PCRE2 (PHP >=7.3)
minhao3313
Submitted by
anonymous
-
5 months ago
1
check csv content
PCRE2 (PHP >=7.3)
a
Submitted by
abc
-
5 months ago
1
Maven Version
PCRE2 (PHP >=7.3)
Based on https://docs.oracle.com/middleware/1212/core/MAVEN/maven_version.htm#A1000661 this validates all maven versions.
Submitted by
Baaji Shayeed Shaik
-
5 months ago
1
XC410
PCRE2 (PHP >=7.3)
QS
Submitted by
anonymous
-
5 months ago
1
Replace all occurences of a caracter except if placed between "
PCRE2 (PHP >=7.3)
Replace all occurences of the caracter ; except if it placed between two " signs.
Submitted by
ccroche helped by ChatGPT
-
5 months ago
1
...
28
29
30
31
32
...
137
Transform a date string into a timestamp
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
\w
,
]
{3,4}
(?:
(?<jan>
Jan
)
|
(?<feb>
Feb
)
|
(?<mar>
Mar
)
|
(?<apr>
Apr
)
|
(?<may>
May
)
|
(?<jun>
Jun
)
|
(?<jul>
Jul
)
|
(?<aug>
Aug
)
|
(?<sep>
Sep
)
|
(?<oct>
Oct
)
|
(?<nov>
Nov
)
|
(?<dec>
Dec
)
)
(?<day>
\d
+
)
(?<year>
\d
+
)
(?<time>
\d
{1,2}
:
\d\d
:
\d\d
)
.
*
/
gm
Open regex in editor
Description
Transform a date string like: Mon Nov 10 1957 12:34:56 UTC +08:00 into: 11/10/195 12:34:56
Submitted by
Steve Aughnbaugh
-
a year ago
(Last modified a year ago)