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 4,440 community submitted regex patterns...
0
AT+ - Image
PCRE2 (PHP >=7.3)
parse at+ syntax
Submitted by
Carsten
-
9 months ago
0
选择题题目与选项匹配
Python
对有ABCD四个选项的选择题题目进行匹配
Submitted by
Wang Miao
-
9 months ago
0
comma separated ESPEC
Python
ESPEC
Submitted by
Ian Cole
-
9 months ago
0
Retrieve all number version from tag
PCRE2 (PHP >=7.3)
This regex will retrieve all number in a given tag
Submitted by
Marc Masure
-
9 months ago
0
Remove .html from url
PCRE2 (PHP >=7.3)
I used in Nginx to rewrite the location from http://example.com/about.html to http://example.com/about
Submitted by
Vijay Amirtha Raj J
-
9 months ago
1
Extract schema and domain from URI.
PCRE2 (PHP >=7.3)
Doesn't work on domains that include dashes (after the dash).
Submitted by
Roke Julian Lockhart Beedell
-
9 months ago
0
telegram links
PCRE2 (PHP >=7.3)
.
Submitted by
AC Lover
-
9 months ago
(Last modified 9 months ago)
1
Single line of .env file
PCRE2 (PHP >=7.3)
Parse a single line of a .env file From repo dotenv - source code here.
Submitted by
Mot (https://github.com/motdotla)
-
9 months ago
0
CUIT Argentina sin guiones
PCRE2 (PHP >=7.3)
CUIT Argentina sin guiones
Submitted by
Lucas David Ferrero
-
10 months ago
0
All Strings for same-lines, Syntax or Parsing
PCRE2 (PHP >=7.3)
All Strings on One Line Php java javascript python escapes all regex...
Submitted by
kai gouthro
-
10 months ago
(Last modified 10 months ago)
0
Nginx parse error log msg
Python
Regex to parse nginx error logs, that can't be converted to json in nginx. To use with fluentbit update group labels from "?P" to "?"
Submitted by
diepes
-
10 months ago
0
NLP_Regex
Python
Learning Regex for NLP
Submitted by
anonymous
-
10 months ago
0
international telephone number incl. european notation
PCRE2 (PHP >=7.3)
international telephone number incl. european notation
Submitted by
Florian Ledeboer
-
10 months ago
0
request_uri_no_qs
PCRE2 (PHP >=7.3)
Regular expression used to get the encoded URI portion of the $request_uri when unencoded $uri breaks a reverse proxy. map $request_uri $request_uri_no_qs { "~^(?+)\?(?:.*)?" $m; default $request_uri; } `
Submitted by
jpatton@gmail.com
-
10 months ago
0
Regex para Logs de Kiwi Log Forwarder
Python
Los logs de Kiwi Log Forwarder no se guardan de manera correcta como un CSV, por lo que tengo la idea de con una regex vaciarlos a un CSV bien hecho para poder tener mejor visualización de estos
Submitted by
anonymous
-
10 months ago
1
in-addr.arpa to IPv4
PCRE2 (PHP >=7.3)
Converts in-addr.arpa hostnames to IPv4 e.g. 1.0.0.127.in-addr.arpa to 127.0.0.1
Submitted by
BitesizedLion
-
10 months ago
0
MTN Momo Infos
Python
A regex to extract meaningful infos from a Momo message (mobile money) which is recurrent in Africa.
Submitted by
Hans T.
-
10 months ago
0
Match Australian Adresses
PCRE2 (PHP >=7.3)
This Regex Matches Australian Adresses
Submitted by
anonymous
-
10 months ago
0
Page X of X
Python
Only matches patterns like "Page 1 of 1", "Page 2 of 2", "Page 3 of 3", "Page 4 of 4", "Page 106 of 106", etc. Only works when page numbers in the string are the same.
Submitted by
anonymous
-
10 months ago
0
Extracting data from Authorization header
PCRE2 (PHP >=7.3)
Handful regex for parsing Authorization, WWW-Authenticate etc. headers
Submitted by
Alex Furnica
-
10 months ago
1
...
16
17
18
19
20
...
222
pack_size
1
Regular Expression
PCRE2 (PHP >=7.3)
/
(
\d
+
?
[
\+
x
]
)?
\d
+
?
(
litros
?
|
u
(
ni
)?
ds
?
|
kg
|
g
|
cl
)
(
.
?
,
\w
+
\d
+
?
(
litros
?
|
u
(
ni
)?
ds
|
kg
|
g
)
)?
/
gmi
Open regex in editor
Description
get pack_size from a string
Submitted by
anonymous
-
3 years ago