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 9,620 community submitted regex patterns...
3
POST OFFICE BOX
PCRE (PHP <7.3)
no description available
Submitted by
jmweekes
-
9 years ago
3
Camel case to space-separated string
PCRE (PHP <7.3)
Takes any camel case and returns it plus spaces.
Submitted by
Rougeware
-
9 years ago
3
BOOLEAN EXPRESSION WITH BRACKETS MATCHER
PCRE (PHP <7.3)
comapre simbols used just !=, ==, =, beacose of task keyword "not" can be used only before leftside value beacose of task
Submitted by
Ilya Filisteev
-
9 years ago
3
ln -l linux parse
PCRE (PHP <7.3)
parse linux ln -l output command
Submitted by
guignol95
-
9 years ago
1
regex words
PCRE (PHP <7.3)
get all words related to regex
Submitted by
anonymous
-
9 years ago
1
Web page URL
PCRE (PHP <7.3)
Validates an URL of a web page
Submitted by
Heinrich Reimer
-
9 years ago
3
MySQL Full-Text BOOLEAN mode
PCRE (PHP <7.3)
Checks if an input string is compatible with the BOOLEAN mode of MySQL full text search system
Submitted by
greezybacon
-
9 years ago
3
Get bad iframe (with white-list)
PCRE (PHP <7.3)
In (?!www.youtube.com\/|youtube.com\/|player.vimeo.com\/) u can add good sites for iframes: www.youtube.com/ player.vimeo.com/
Submitted by
Resager
-
9 years ago
2
Email Domain Regex
PCRE (PHP <7.3)
A pattern to match the email domain suffix
Submitted by
doug
-
9 years ago
3
coffeescript operator
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
find numbers with 2 commas
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Isolates Formatted money String inside HTML tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
IP with Subnet
PCRE (PHP <7.3)
IP address with Subnet
Submitted by
Matt Masse
-
9 years ago
1
Empty string test
PCRE (PHP <7.3)
Regular for testing empty strings for validation purpose
Submitted by
anonymous
-
9 years ago
1
Camel case string splitter
PCRE (PHP <7.3)
Splits CamelCase single string into separate strings. Can be used for transforming CamelCase to snake_case. Also works with numbers and capital letter shortcuts (e.g SomeWTFVariable1).
Submitted by
Nicolas
-
9 years ago
3
Extract Java Exception Message Field
PCRE (PHP <7.3)
Exception Message: java.lang.NullPointerException: Sample Java Logback Exception at Sample.errorLevel3(Sample.java:35) at Sample.errorLevel2(Sample.java:31) at Sample.errorLevel1(Sample.java:27)...
Submitted by
Amit
-
9 years ago
2
notepad++
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
Match text in square brackets
PCRE (PHP <7.3)
Drupal7 Media Element in node body - A regex to match the media module square bracketted token/element for embedde images in node body. Use case - using the body text trimmed in a meta description - need to remove the media element as well as strip tags.
Submitted by
iAugur
-
9 years ago
2
Date search
PCRE (PHP <7.3)
Search for three different types of dates in spanish format
Submitted by
AgustÃn Bouillet
-
9 years ago
3
Get Hyperlinks From Markdown Format
PCRE (PHP <7.3)
Get all hyperlinks in a Markdown Format Text
Submitted by
Ferdinand Dimas
-
9 years ago
1
...
17
18
19
20
21
...
481
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(?P<IP>
(?:
[
1
-
9
]
|
[
1
-
9
]
[
0
-
9
]
|
1
[
0
-
9
]
{2}
|
2
[
0
-
1
]
[
0
-
9
]
|
22
[
0
-
3
]
)
(?:
\.
(?:
0
|
[
1
-
9
]
|
[
1
-
9
]
[
0
-
9
]
|
1
[
0
-
9
]
{2}
|
2
[
0
-
4
]
[
0
-
9
]
|
25
[
0
-
5
]
)
){3}
)
:
(?P<PORT>
(?:
[
1
-
9
]
|
[
1
-
9
]
[
0
-
9
]
{1,3}
|
[
1
-
5
]
[
0
-
9
]
{4}
|
6
[
0
-
4
]
[
0
-
9
]
{3}
|
65
[
0
-
4
]
[
0
-
9
]
{2}
|
655
[
0
-
2
]
[
0
-
9
]
|
6553
[
0
-
5
]
)
)
$
/
gm
Open regex in editor
Description
Validate 1-223.0-255.0-255.0-255:1-65535
Submitted by
dev.tntd2k2
-
a year ago