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 11,780 community submitted regex patterns...
1
C2D: Outbound_id
PCRE (PHP <7.3)
no description available
Submitted by
EnigmaSoft
-
9 years ago
1
Get src in img
PCRE (PHP <7.3)
Get src in img
Submitted by
Andy
-
9 years ago
1
Search tags "a" and get link and text from tags
PCRE (PHP <7.3)
Search group "link=>text" in tags "a"
Submitted by
Andy
-
9 years ago
11
Codice fiscale
PCRE (PHP <7.3)
Check "codice fiscale"
Submitted by
Luca
-
9 years ago
1
aabc lazy capture
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Simple Telephone number regex
PCRE (PHP <7.3)
It accepts phone numbers of the form 0XX XXX XX XX (stylized here, it doesn't really accept spaces). Also, it can detect the international area code (e.g. +41 OR 0041 for Switzerland). It's not a good idea to rely on the groups (because they do not work for this reason. At ALL.
Submitted by
Adowrath
-
9 years ago
1
Cleaning up epub converts
PCRE (PHP <7.3)
no description available
Submitted by
Cory
-
9 years ago
1
HTTP => HTTPS
PCRE (PHP <7.3)
Force all URLs to HTTPS.
Submitted by
WhatIsHeDoing
-
9 years ago
-2
lowercase words followed by uppercase words. Be able to separate words
PCRE (PHP <7.3)
Tinta del paísSuelo: Arena 100%Altitud media: 900mEdad del viñedo: PrefiloxeraRendimiento: 1800 Kg/haLugar: Ribera del Duero, FuentelcéspedBodega:Bodegas y Viñedos Juan Manuel Burgos
Submitted by
Eduard eduard.fabra@uvinum.com
-
9 years ago
1
Parse Logs
PCRE (PHP <7.3)
http://stackoverflow.com/questions/32067661/regex-get-all-text-after-pattern-from-log-c-sharp/32067747#32067747
Submitted by
anonymous
-
9 years ago
1
Parse Logs
PCRE (PHP <7.3)
http://stackoverflow.com/questions/32067661/regex-get-all-text-after-pattern-from-log-c-sharp/32067747#32067747
Submitted by
anonymous
-
9 years ago
1
Parse Logs
PCRE (PHP <7.3)
Parsing Logs http://stackoverflow.com/questions/32067661/regex-get-all-text-after-pattern-from-log-c-sharp/32067747#32067747 Avinash Raj http://stackoverflow.com/users/3297613/avinash-raj
Submitted by
Avinash Raj
-
9 years ago
1
Youtube ID
PCRE (PHP <7.3)
get youtube video ID
Submitted by
anonymous
-
9 years ago
3
Currencies
PCRE (PHP <7.3)
Matches numbers formatted like currencies
Submitted by
elgehelge
-
9 years ago
0
Parse date between 1000 and 2012 in format(YYYY/MM/DD HH:MM)
PCRE (PHP <7.3)
This my first regExp)
Submitted by
Andy
-
9 years ago
1
BEM for css
PCRE (PHP <7.3)
no description available
Submitted by
giacomozinetti
-
9 years ago
1
hosts file parser
PCRE (PHP <7.3)
This expression parses hosts file lines and extracts IP, domains, commented lines. Yet doesn't support ending comments.
Submitted by
Jarek Wasilewski
-
9 years ago
-1
Integers and Decimals
PCRE (PHP <7.3)
Matches integers and decimals with or without thousands grouping.
Submitted by
Franz Alex Gaisie-Essifie
-
9 years ago
1
ip/host:port parser (proxy lists)
PCRE (PHP <7.3)
simple ip:port or host:port parser capturing ip or host and port, usually used for proxy lists
Submitted by
The Voider
-
9 years ago
4
TV series season and episode names
PCRE (PHP <7.3)
This regex matches against season and series names
Submitted by
mikey
-
9 years ago
1
...
530
531
532
533
534
...
589
extract query and path params - incomplete
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
[
a
-
z
]
[
a
-
z0
-
9+
\-
.
]
*
:
(
\/\/
[^
\/
?#
]
+
)?
)?
(
(?:
\/
[
a
-
z
]
{4}
\/
(
[
a
-
z
]
{2}
\-
[
a
-
z
]
{2}
)
\/
)
(
[
a
-
z0
-
9
\-
._~%!$&'()*+,;=:@
\/
]
*
)
)
(?:
\?
?
)
(
(
[
a
-
z0
-
9
\-
._~%!$'()*+,;:@
]
+
)
(?:
\=
)
(
[
a
-
z0
-
9
\-
._~%!$'()*+,;:@
\/
]
*
)
)*
(
&
*
)
/
gm
Open regex in editor
Description
Working on a regex to extract path and query params
Submitted by
anonymous
-
2 years ago