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,020 community submitted regex patterns...
0
100-4300
Python
match 100, 200, 300 upto 4300
Submitted by
anonymous
-
2 years ago
0
Hesla ISJ
Python
ISJ
Submitted by
anonymous
-
2 years ago
0
Country Codes (Alpha 2 and Alpha 3)
PCRE2 (PHP >=7.3)
Country Code Classifier ISO 3166-1 alpha-2 codes are two-letter country codes defined in ISO 3166-1, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), to represent countries, dependent territories, and special areas of geographical interest. They ar...
Submitted by
loganmcampbell
-
2 years ago
0
UFUNCTION parser
PCRE2 (PHP >=7.3)
Breaks any UFUNCTION into parts
Submitted by
anonymous
-
2 years ago
0
Dyno warning regex
Python
Used to separate things in dyno warning
Submitted by
anonymous
-
2 years ago
0
PLDI regex 1
Python
For pldi answer
Submitted by
PlaceReporter99
-
2 years ago
0
PLDI regex 2
Python
for pldi answer
Submitted by
PlaceReporter99
-
2 years ago
0
PLDI regex 3
Python
for pldi answer
Submitted by
PlaceReporter99
-
2 years ago
0
test
ECMAScript (JavaScript)
test
Submitted by
anonymous
-
2 years ago
0
capture strings between starts and ends line
ECMAScript (JavaScript)
capture any strings between starts and ends line
Submitted by
anonymous
-
2 years ago
(Last modified a year ago)
0
latlonlatlon
PCRE (PHP <7.3)
gg
Submitted by
anonymous
-
2 years ago
0
Match All Words Beginning With 'a'
PCRE2 (PHP >=7.3)
This code can be adapted to match any character or word in a list using a textbox as follows: "^[" & TextBox2.Text & "]\w+" However, for this to work the text in the main textbox needs to be made into a list replacing whitespaces, tabs, carriage returns, etc. with a carriage return. The list doesn...
Submitted by
anonymous
-
2 years ago
0
Remove XML whitespace
PCRE2 (PHP >=7.3)
Removes whitespace around XML elements and trims the content
Submitted by
anonymous
-
2 years ago
0
Replace namespaces in xpath with local-name
.NET 7.0 (C#)
Replace namespaces in xpath with local-name
Submitted by
pvlzh
-
2 years ago
0
Session Start/Close
Python
Capturing Start/Close in IRC-logs
Submitted by
Corpset
-
2 years ago
0
Proxy Matcher
PCRE (PHP <7.3)
Validate 1-223.0-255.0-255.0-255:1-65535
Submitted by
dev.tntd2k2
-
2 years ago
0
vscode-f5 xc reserved ports issue #209
ECMAScript (JavaScript)
https://github.com/f5devcentral/vscode-f5/issues/209
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Etiquetas de HTML
PCRE2 (PHP >=7.3)
Ejercicio 3. Diseño de expresión regular asignada y autómata finito Equipo: MAD
Submitted by
anonymous
-
2 years ago
0
Patent Number part extraction
PCRE2 (PHP >=7.3)
Patent Number part extraction (Country Code + Number + Kind Code)
Submitted by
anonymous
-
2 years ago
0
Windows File With Double Extension
PCRE2 (PHP >=7.3)
This can be used for threat hunting. It will look for valid file names that have a double extension that can be used to trick people. Ex: Invoice.pdf.exe
Submitted by
Todd A Danko
-
2 years ago
1
...
891
892
893
894
895
...
901
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
[
\s
]
*
(
[
\/
+
\s\w
@'
\,\.
()
\-\*\-\>\<\_\"
]
*
)?
[
\n
]
*
UFUNCTION
[
(
]
(
[
\w
<>
\s
\(\)\=\,\"\|
]
*
|
\n
]
*
)
[
\)
]
\n\s
(
virtual
)*
\s
*
(
static
)*
\s
*
(
\w
+
\&
?
\*
?
)
\s
(
\w
+
)
[
(
]
(
[
\w
<>
\s
,&
\*
]
*
|
\n
]
*
)
[
)
]
[
\s
]
*
(
[
const
]
*
)
/
gm
Open regex in editor
Description
Breaks any UFUNCTION into parts
Submitted by
anonymous
-
2 years ago