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
determine if input text is an URL
PCRE2 (PHP >=7.3)
determine if input text is an URL
Submitted by
anonymous
-
2 years ago
2
Aus Mobile number
.NET 7.0 (C#)
validates against multiple common formats
Submitted by
anonymous
-
2 years ago
0
Kyivstar phone number
Java 8
Kyivstar phone number
Submitted by
milka_vlad
-
2 years ago
0
MD highlight remover
PCRE2 (PHP >=7.3)
Remove highlights from md files
Submitted by
anonymous
-
2 years ago
0
MD higlighter
PCRE2 (PHP >=7.3)
Mark words to auto-higlight
Submitted by
anonymous
-
2 years ago
0
Find GraphQL queries with missing id
PCRE (PHP <7.3)
It detects the following ` product { brand` and ignores ` product {...
Submitted by
anonymous
-
2 years ago
0
Normalizing data from a string
Python
Gets several strings and makes a list of data attributes in a formatted way
Submitted by
SevebFeet
-
2 years ago
0
Odoo parsing for Loki
PCRE2 (PHP >=7.3)
A regex to parse Odoo logs in Loki. If the line is from werkzeug, it will also capture the HTTP data.
Submitted by
coopdevs
-
2 years ago
0
Verificador de número de telefone/celular
PCRE2 (PHP >=7.3)
Minha primeira expressão regular
Submitted by
anonymous
-
2 years ago
0
Git Commit Message Validation
Python
Validate a modified Version of https://udacity.github.io/git-styleguide/
Submitted by
anonymous
-
2 years ago
0
Search/Replace Pressure sensor calibration
PCRE (PHP <7.3)
Changing from MPa to Bar
Submitted by
anonymous
-
2 years ago
0
perga
PCRE2 (PHP >=7.3)
regex to find total payment
Submitted by
anonymous
-
2 years ago
0
Match markdown order and unorder list
PCRE2 (PHP >=7.3)
Same as title
Submitted by
anonymous
-
2 years ago
0
Replace letters in email address
PCRE (PHP <7.3)
Replace letters in email address but left the first and last letter before and after @
Submitted by
Kaibo
-
2 years ago
0
Strip ANSI CSI
ECMAScript (JavaScript)
Use control_sequence_filter group to find and remove ANSI CSI codes. Not tested thoroughly. Only for the task that was necessary for me
Submitted by
Leonards Elksnis
-
2 years ago
(Last modified 2 years ago)
0
Youtube Twitch Channels
ECMAScript (JavaScript)
No need to customize. Works for every modern youtube/twitch channels
Submitted by
mallusrgreat
-
2 years ago
1
Replace FOSUserBundle controller attributes to Symfony #[Route] attribute
PCRE2 (PHP >=7.3)
Substitute AbstractFOSRestController Routing attributes by Symfony Routing attribute \#[Route] move HTTP method to methods:[''] and use #[Route] attribute #[Rest\Get('/corbeilles')] #[Rest\Post('/corbeille/restore')] #[Rest\Delete(path: '/chapitres/{id}', requirements: ['id' => '\d+'])]...
Submitted by
anonymous
-
2 years ago
0
tas-branch-validation
Java 8
tas-branch-validation
Submitted by
doron-hafner
-
2 years ago
0
SolarWinds Orion exe matcher
PCRE2 (PHP >=7.3)
Matches the following : files part of the solarwinds\orion folder file names starting with solarwinds,swjobengine,netflowservice,counterfetcher file names ending with ".exe"
Submitted by
Aurélien BOUMANNE
-
2 years ago
1
Replace ^ with Math.pow function. Not made to work with braces.
Java 8
Replaces ^ with Math.pow function call. This assumes all braces have been combined first. If you need help with the combination, I got you—try this Python algorithm: def evaluate_braces(expr): """Recursively evaluate expressions within braces""" Check if expression contains braces if '(' in...
Submitted by
Glitchii - https://github.com/Glitchii
-
2 years ago
(Last modified 2 years ago)
1
...
67
68
69
70
71
...
900
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
(
(?:
(?:
PUBLIC
|
PRIVATE
)
[
\t
]
+
)*
(?:
(?:
DEFAULT
)
[
\t
]
+
)*
SUB
[
\t
]
+
(?:
(
\w
+
)
(?:
[
\t
]
*
\(
(
[^
\(\)
]
*
)
\)
)*
)
)
(?:
.
*
)
END
SUB
/
igms
Open regex in editor
Description
Extract signature of the sub routine in Vbscript
Submitted by
Praveen Kumar Nandagiri
-
3 years ago