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 15,480 community submitted regex patterns...
1
匹配markdown代码块
PCRE2 (PHP >=7.3)
组1:编程语言 组2:代码
Submitted by
若小仟
-
a year ago
1
regex that allows digits, space and hyphen
PCRE2 (PHP >=7.3)
regex that allows digits, space and hyphen
Submitted by
Animesh
-
a year ago
1
template string match
PCRE2 (PHP >=7.3)
match like this: ${foo}
Submitted by
anonymous
-
a year ago
1
IP matching
PCRE2 (PHP >=7.3)
using \g to match repeated pattern
Submitted by
binger
-
a year ago
1
Multiline Address
PCRE2 (PHP >=7.3)
Match multiline address formats
Submitted by
anonymous
-
a year ago
1
Find all PHP short echo tags
PCRE2 (PHP >=7.3)
Find all short echo tags and convert to Laravel Blade echo brackets {{ }}
Submitted by
matasbi
-
a year ago
1
Split transcript into multiple columns
PCRE2 (PHP >=7.3)
Submitted by
Stephen Stroup
-
a year ago
1
find literal yyyy-mm-dd dates
PCRE2 (PHP >=7.3)
to find usage of magic strings in a codebase
Submitted by
anonymous
-
a year ago
1
CH IBAN in Text finden
PCRE2 (PHP >=7.3)
Der Ausdruck findet alle CH (Schweizer) IBAN (International Bank Account Number) in einem beliebigen Text.
Submitted by
anonymous
-
a year ago
1
Email Regex
ECMAScript (JavaScript)
ECMAScript simple regex for email validation
Submitted by
@marquesjob
-
a year ago
1
Nz postcodes - Auckland region
ECMAScript (JavaScript)
A regex to find if a postcode is in Auckland region (New Zealand)
Submitted by
brenmurrell
-
a year ago
1
ISO 639-1
PCRE2 (PHP >=7.3)
Matches ISO 639-1 language codes. Sourced from https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
Submitted by
Jason Whitehead
-
a year ago
1
ISO 3166-1 alpha 2
PCRE2 (PHP >=7.3)
Sourced from https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
Submitted by
anonymous
-
a year ago
1
Hungarian license plates from 2022
PCRE2 (PHP >=7.3)
All regular and vanity Hungarian plates are included. Special plates, police, ambulance, etc. are not included.
Submitted by
gergelyfuzi
-
a year ago
(Last modified a year ago)
1
Validar password
PCRE2 (PHP >=7.3)
Regex para validar una contraseña con un minimo 8 caracteres, maximo 16 y debe incluir minusculas, mayusculas, digitos y un caracter especial. Todo sin espacios
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Validate Wikipedia URL and extract Article Title
ECMAScript (JavaScript)
This works against a list of hyperlinks from the 'USS Marmora (1862)' article You can include File: pages by removing the File:| from the regex. I could improve how the remaining query for urls containing index.php, for now I recommend splitting in your chosen programming language. ...
Submitted by
Martin Shaw
-
a year ago
(Last modified a year ago)
1
Match RFC1918 And Localhost
PCRE2 (PHP >=7.3)
Matches RFC1918 and Localhost ips.
Submitted by
nck
-
a year ago
1
Numero PDA
PCRE2 (PHP >=7.3)
Consente di controllare l'esattezza del numero di Porto d'armi
Submitted by
Principio Tudisco
-
a year ago
1
VSCode TODO Tree regex
PCRE2 (PHP >=7.3)
Little tweaks to highlight tags in docblock comments also: /* NOTE */ ...
Submitted by
ced404
-
a year ago
1
filter branch name in git
PCRE2 (PHP >=7.3)
skip everything before the real last branch name
Submitted by
anonymous
-
a year ago
1
...
680
681
682
683
684
...
774
Pound checker
1
Regular Expression
PCRE (PHP <7.3)
/
[
\d
|½|⅓|¼|⅔|¾|⅛|⅜|⅝|⅞
]
{0,}
[
x|
|
\-
]
{0,}
[
[
\d
|½|⅓|¼|⅔|¾|⅛|⅜|⅝|⅞
]
?
[
|
\-
|
\/
|
\.
]
?
]
?
[
\d
|½|⅓|¼|⅔|¾|⅛|⅜|⅝|⅞
]
+
[
|
\-
]
*
(
g
|
lb
|
pound
|
kg
)
[
s
]
?
[^
a
-
z
]
*
/
i
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago