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 2,280 community submitted regex patterns...
1
CRON
Python
Validades cron job time specification
Submitted by
anonymous
-
2 years ago
1
Lua Enhanced: function application compound operator
Python
This is a compound operator that takes a variable and a Example: local x = 9 x f(math.max)= 10 compiles to...
Submitted by
anonymous
-
2 years ago
1
Simple HTML to Markup
Python
converts HTML: This is hyperlink. You can click this. to Markup: This is hyperlink. You can click this. which renders like this: This is hyperlink. You can click this.
Submitted by
toryano0820
-
2 years ago
1
Identify a web URL - non ftp
Python
From any text identify a web url. File or ftp urls are not a part of the regex.
Submitted by
wongz - https://stackoverflow.com/a/63022807/326835
-
2 years ago
1
Telegram username link
Python
a pattern to detect telegram username link or tag
Submitted by
anonymous
-
2 years ago
1
HTML Regex
Python
HTML Pattern Recursively use this pattern to match HTML content. This pattern will match Hello World and return a groupdict of tag, body and attribute data. Then you can use this pattern on the body to parse nested HTML tags as well.
Submitted by
GrandMoff100
-
2 years ago
1
Números decimales y exponenciales aislados
Python
Hace coincidir números decimales y exponenciales aislados para el sistema de numeración decimal. 22e22 22e+22 +22e22 +22e+22 22.22 22. .22 22.e22 22.e+22 22.22e22 22.22e+22 .22e22 .22e+22 88e 88e+ e88 e+88 88e88.
Submitted by
Johnny Alonso
-
2 years ago
(Last modified 2 years ago)
1
telephone_founder
Python
with obfuscation
Submitted by
anonymous
-
2 years ago
1
nginx access regex loki
Golang
nginx access log regex
Submitted by
Lethisa Putri
-
2 years ago
1
1
Golang
11
Submitted by
anonymous
-
2 years ago
1
surnames
Python
italian uppercase surnames
Submitted by
anonymous
-
2 years ago
1
SGR ANSI escape sequences
Python
Find all SGR-type ANSI escape sequences
Submitted by
delameter
-
2 years ago
1
Only letters, accents and space
Python
Regex that catches everything that is not text (including emotes)
Submitted by
https://www.linkedin.com/in/devfabriciors/
-
2 years ago
1
Conventional Commits RegEx
Python
This RegEx can be used to check whether a string (usually a commit message) matches the structure specified in the conventional commits specification and it allows to retrieve the sections of the structure via. named groups. The groups are the following: (? means, that this can be empty/nullable) ...
Submitted by
mccoderpy
-
a year ago
1
IPv4
Python
| Regex | Number | | :----------: | :-----------: | | 1?[1-9]?\d | 0-99, 110-199 | | 12\d | 100-149, 200-249 | | 25[0-5] | 250-255 | ...
Submitted by
MicroMicrocosm
-
a year ago
1
triple / double bottles
Python
triple / double bottles
Submitted by
anonymous
-
a year ago
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
1
Authelia regex path rules
Golang
Testing Authelia subdomain / path rules. You can read more at the Authelia Docs By default, this regex101 page is shown a test for a generic API path domain: "some-sub.drpranavmishra.com" resources:...
Submitted by
Pranav Mishra
-
a year ago
(Last modified a year ago)
1
extract <*n or <n where n is a number
Golang
see https://stackoverflow.com/questions/76228402/regex-to-extract-n-where-n-is-digit
Submitted by
code_monk
-
a year ago
1
Home
Golang
Dj dus er geen je een je aan je enige eerst een he we er
Submitted by
Webmaster
-
a year ago
1
...
28
29
30
31
32
...
114
Xpath Local Name Swapper
0
Regular Expression
Python
r"
(?:
(?<!
[^
/
\[
(|=<>!+*
-
:
]
)
|
(?<=
\s
(?!
and
\b
|
or
\b
|
mod
\b
|
div
\b
)
)
)
(?=
(?:
[^
'
\"
]
*
(?:
'
|
\"
)
[^
'
\"
]
*
(?:
'
|
\"
)
)*
[^
'
\"
]
*
$
)
(?!
[
a
-
zA
-
Z
]
[
a
-
zA
-
Z
\d
_.-
]
*
[
\(
:
]
)
(
[
a
-
zA
-
Z
]
[
a
-
zA
-
Z
\d
_.-
]
*
)
"
gx
Open regex in editor
Description
replace all element with their local-name in xpath (so that namespace do not matters at all)
Submitted by
anonymous
-
4 years ago