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 5,080 community submitted regex patterns...
1
Discord Server Invite, Rust RegEx
Rust
A regular expression for Rust that matches against Discord server invite URLs, but not those without an actual code present. This may be used in Discord's AutoMod feature as it supports up to 10 Rust regular expressions per custom rule.
Submitted by
sepruko
-
11 days ago
1
validar nome e sobre nome
PCRE2 (PHP >=7.3)
Silva, João Oliveira, Maria Santos, Pedro Pereira, Ana Ferreira, Lucas Costa, Beatriz...
Submitted by
anonymous
-
11 days ago
1
validar links markdown
PCRE2 (PHP >=7.3)
Regex101 - Uma ferramenta interativa para testar expressões regulares. RegExr - Outra ferramenta online popular para aprender, construir e testar expressões regulares. Regular Expressions Info - Um site completo com informações detalhadas sobre expressões regulares. MDN Web Docs - Regular Expression...
Submitted by
anonymous
-
11 days ago
1
12 to 22 digit fedex numbers
PCRE2 (PHP >=7.3)
This regular expression can be used to extract 12 to 22 digit fedex numbers from a string.
Submitted by
anonymous
-
11 days ago
1
Help
PCRE2 (PHP >=7.3)
please help I'm trying to capture some text parts of a PDF. I have a problem and can't solve it. I need to use a regexReplace, and for that, I need to find the desired item (match), and everything else will be replaced by the match....
Submitted by
anonymous
-
8 days ago
1
Captures entire log line that meet the criteria
Python
If you need to grab an entire log line based on criteria (error,warning,notice,info,debug), use this Regexp and change the parameters accordingly.
Submitted by
Neill Lima
-
10 years ago
1
this
Python
stinks
Submitted by
anonymous
-
10 years ago
1
Double dollar delimited centred LaTeX equation
Python
Find all instances of a double dollar delimited centred LaTeX equation, for use with e.g. KaTeX
Submitted by
drewsberry
-
10 years ago
1
nginx log parser
Python
separate nginx log into database table-style fields
Submitted by
wgzhao
-
10 years ago
1
Brazilian phone numbers
Python
no description available
Submitted by
rafaelverger
-
10 years ago
1
url regex
Python
no description available
Submitted by
catwooman
-
10 years ago
1
domain from full url
Python
no description available
Submitted by
anonymous
-
10 years ago
1
PCI Device
Python
no description available
Submitted by
anonymous
-
9 years ago
1
match the first sentence, ignoring enumerations
Python
no description available
Submitted by
Henrik Heimbuerger
-
9 years ago
1
Get path from URL
Python
extract the path from a URL returns one group (if matching) with the path info e.g. http://somedomain.com/some-page/ http://www.domain.com:8080/some-page/ https://www.google.com:8080/some-page/...
Submitted by
luke_aus
-
9 years ago
1
MySQLcase
Python
make sure mysql tables have the correct form
Submitted by
d
-
9 years ago
1
phanindra.vaga.ranama
Python
sdf
Submitted by
asdf
-
9 years ago
1
Timecode
Python
Regex to match standard timecode format.
Submitted by
Travis
-
9 years ago
1
Apache Access Log pattern
Python
Apache Web server log file format following the standard
Submitted by
Basil Tungekar
-
9 years ago
1
Email id
Python
no description available
Submitted by
anonymous
-
9 years ago
1
...
242
243
244
245
246
...
254
SO: fail2ban regular to find 403 request in nginx
7
Regular Expression
Python
r"
^
(?:
::f
{4,6}
:
)?
(?P<host>
\S
+
)
.
*
\"
(
GET
|
POST
)
[^
\"
]
+
\"
403
"
mg
Open regex in editor
Description
http://stackoverflow.com/q/25778420/2072035
Submitted by
anonymous
-
10 years ago
(Last modified a year ago)