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 4,720 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
-
a year ago
0
Kyivstar phone number
Java 8
Kyivstar phone number
Submitted by
milka_vlad
-
a year ago
0
MD highlight remover
PCRE2 (PHP >=7.3)
Remove highlights from md files
Submitted by
anonymous
-
a year ago
0
MD higlighter
PCRE2 (PHP >=7.3)
Mark words to auto-higlight
Submitted by
anonymous
-
a year 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
-
a year 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
-
a year ago
0
Verificador de número de telefone/celular
PCRE2 (PHP >=7.3)
Minha primeira expressão regular
Submitted by
anonymous
-
a year ago
0
Git Commit Message Validation
Python
Validate a modified Version of https://udacity.github.io/git-styleguide/
Submitted by
anonymous
-
a year ago
0
perga
PCRE2 (PHP >=7.3)
regex to find total payment
Submitted by
anonymous
-
a year ago
0
Match markdown order and unorder list
PCRE2 (PHP >=7.3)
Same as title
Submitted by
anonymous
-
a year 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
-
a year ago
0
tas-branch-validation
Java 8
tas-branch-validation
Submitted by
doron-hafner
-
a year 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
-
a year 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
-
a year ago
(Last modified a year ago)
0
Method calls on PHP (static and not)
PCRE2 (PHP >=7.3)
Find ocurrences of method calls, static or not, on PHP.
Submitted by
Allyson
-
a year ago
0
GST (India)
PCRE2 (PHP >=7.3)
Detects Indian GST numbers (Goods & Services Tax). Based on https://groww.in/p/tax/gstin
Submitted by
anonymous
-
a year ago
0
CSS Class Styles
PCRE2 (PHP >=7.3)
Regex to find CSS Class Styles
Submitted by
JR
-
a year ago
1
Find passwords in logs
PCRE2 (PHP >=7.3)
Regex to find cleartext passwords in logs in various formats
Submitted by
anonymous
-
a year ago
0
Find valid SAS names
PCRE2 (PHP >=7.3)
https://www.sfu.ca/sasdoc/sashtml/lrcon/z0998953.htm#z0998951
Submitted by
ABANTR
-
a year ago
0
email
PCRE2 (PHP >=7.3)
validate email
Submitted by
anonymous
-
a year ago
1
...
37
38
39
40
41
...
236
National Insurance Number regular expression
3
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?!
BG
|
GB
|
KN
|
NK
|
NT
|
TN
|
ZZ
)
[^
DFIQUV
]
[^
DFIQUVo
]
[
0
-
9
]
{6}
[
ABCD
]
$
/
img
Open regex in editor
Description
This regular expression is build from the description of NINO number of
GOV.UK
,
Submitted by
Iftakhar Husan
-
3 years ago