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,500 community submitted regex patterns...
1
golang re2 negative lookahead
Golang
Aquivalent solution for golang's unsupported negative lookahead in re2 flavor of go's regex. This example provides a negative lookahead similar to (?!/api/) ignoring routes with the /api/ prefix at the start.
Submitted by
misha
-
a year ago
0
autogpt-parse next-action
Python
autogpt-parse next-action
Submitted by
anonymous
-
a year ago
0
auto-gpt-parse next-action
Python
auto-gpt-parse next-action
Submitted by
anonymous
-
a year ago
0
auto-gpt-THOUGHTS block
Python
auto-gpt-THOUGHTS block
Submitted by
anonymous
-
a year ago
0
autogpt-system-command-parse
Python
autogpt-system-command-parse
Submitted by
anonymous
-
a year ago
0
Extract structure from dates
Python
1-12 / 2022
Submitted by
anonymous
-
a year ago
0
tacacs legacy server definition: sentence and parts
Python
This query extract the entire tacacs legacy configuration by servers and divide its parts on groups
Submitted by
anonymous
-
a year ago
0
auto-gpt capture command
Python
auto-gpt capture command
Submitted by
anonymous
-
a year ago
0
Pick uuidValue from jSON payload
Java 8
.
Submitted by
jeevan
-
a year ago
0
trimming whitespaces from the beginning and from the end
Python
trimming whitespaces from the beginning and from the end
Submitted by
anonymous
-
a year ago
0
IWANTOUT
Python
IWANOUT
Submitted by
anonymous
-
a year ago
0
URL
Python
Regex de URL
Submitted by
anonymous
-
a year ago
0
Split up text to 40 signs
Java 8
This splits a text into sequences of max. 40 chars, concatting with a pipe
Submitted by
anonymous
-
a year ago
0
Email finder
Python
Find emails in a string.
Submitted by
anonymous
-
a year ago
0
Phone number finder
Python
Finds a phone number.
Submitted by
anonymous
-
a year ago
-1
regex to check for buffer printing
Python
This regex checks if c/c++ code contains char buffer that is later printed.
Submitted by
tagoras
-
a year ago
0
AWS EC2 CDK Machine
Python
Validates if a string is a ec2 machine valid instance type.
Submitted by
https://github.com/DEADSEC-SECURITY
-
a year ago
0
Dagger exception parsing
Python
https://github.com/dagger/dagger/issues/4706#issuecomment-1498009538
Submitted by
anonymous
-
a year ago
0
cep Brazil
Python
Brazilian zip code verification, with 8 digits separated or not by -
Submitted by
anonymous
-
a year ago
0
Cisco_interface_back
Python
\D+([0-9]/[0-9]|.)\s+(\d+\.\d+\.\d+\.\d+|unngiged)\s+(YES|NO)\s+\D{4,}\s+[A-Za-z]{2,}\s+[A-Za-z]{2,}\s+
Submitted by
anonymous
-
a year ago
1
...
5
6
7
8
9
...
125
Special GPS input
0
Regular Expression
Python
r"
^
(
-
?
(
(
[
0
-
8
]
?
\d
(
\.
\d
{1,6}
)?
)
|
(
90
(
\.
0
{1,6}
)?
)
)
)
:
(
-
?
(
(
\d\d
?
(
\.
\d
{1,6}
)?
)
|
(
1
[
0
-
7
]
\d
(
\.
\d
{1,6}
)?
)
|
(
180
(
\.
0
{1,6}
)?
)
)
)
(
:
(
-
?
\d\d
?
(
\.
\d
{1,6}
)?
)
)?
(
#
(
\d\d
?
(
\.
\d
{1,6}
)?
)
)?
(
_
(
\d\d
?
(
\.
\d
{1,6}
)?
)
)?
$
"
gm
Open regex in editor
Description
Used for TrigDroid
Submitted by
anonymous
-
a year ago