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,040 community submitted regex patterns...
1
Get type from calypso XML
PCRE2 (PHP >=7.3)
How to get type from calypso XML by key words
Submitted by
AlexMia
-
a year ago
1
File path parser
PCRE2 (PHP >=7.3)
Parses a file path into 3 capture groups: 1: path (may be empty) 2: filename (required) 3: extension (may be empty)
Submitted by
Perigoso
-
a year ago
1
html <Title>
Java 8
htnle
Submitted by
erichologist
-
a year ago
1
Comprehensive PO Box detection (with generator code in Javascript)
ECMAScript (JavaScript)
Case insensitive (of course) All words can all be separated by nothing, spaces, periods, slashes, dashes, or underscores. (So "PO Box 123", "P.O. Box 123", "PO-Box 123", "PO_Box123", etc. all match.) Some valid abbreviations are P/Post/Postal, O/Off/Office, and B/Box/Bx/Bin (as well as N/No/Num/Numb...
Submitted by
TheSecurityDev
-
a year ago
(Last modified a year ago)
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
emoji-test.txt
Python
emoji-test.txt
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
Match emoji in emoji-zwj-sequences.txt
Python
Match emoji in emoji-zwj-sequences.txt
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
...
812
813
814
815
816
...
902
Community Library Entry
0
Regular Expression
Java 8
"
^
(
(?:
[
01
]
[
0
-
9
]
{0,2}
|
(?:
2
(?:
5
[
0
-
5
]
{0,1}
|
[
0
-
4
]
[
0
-
9
]
{0,1}
|
[
6
-
9
]
{0,1}
)
)
|
[
3
-
9
]
[
0
-
9
]
{0,1}
)
\.
){3}
(?:
[
01
]
[
0
-
9
]
{0,2}
|
(?:
2
(?:
5
[
0
-
5
]
{0,1}
|
[
0
-
4
]
[
0
-
9
]
{0,1}
|
[
6
-
9
]
{0,1}
)
)
|
[
3
-
9
]
[
0
-
9
]
{0,1}
)
$
"
gm
Open regex in editor
Description
IP Address RegEx
Submitted by
anonymous
-
3 years ago