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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 18,000 community submitted regex patterns...
0
Ip
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Ip
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
VBA Function Parse
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
something - anything - something
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Аббревиатуры
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Brackets Recurse
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Miningpoolstats
Python
no description available
Submitted by
anonymous
-
5 years ago
0
VBA String
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
US Patent pulication number
Python
no description available
Submitted by
anonymous
-
5 years ago
0
KalliopePBX v4 X-authenticate header validator
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
CACI Get Prompt Info
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
CACI Delete Prompt Response
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
bad regex URL catching
Python
no description available
Submitted by
anonymous
-
5 years ago
0
hl-skifox
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
teszt
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
jelszó
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
images_extension
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Catch full string up until last backslash
PCRE (PHP <7.3)
Anything before the final \ will be detected. In the example below, the files will be stripped from the file-path as the regex will detect anything in the filepath up until the final backslash. setup In the root of your project you save the script below in index.php and should create folder named a...
Submitted by
anonymous
-
5 years ago
0
<a> tag search
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Errores DRIVE
Python
no description available
Submitted by
anonymous
-
5 years ago
1
...
203
204
205
206
207
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^\s
*
(
Public
|
Private
)?
(?:
\s
*
)
(
Function
|
Sub
)
(?:
\s
*
)
(
[
a
-
zA
-
Z_
]
\w
*
)
\s
*
(?:
\(
)
(
[^
)
]
*
)
(?:
\)
)
(?:
\s
As
\s
)?
(
\w
*
)?
(
[
\s\S
]
*
?
)
^\s
*
(?:
End
Function
|
End
Sub
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago