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,020 community submitted regex patterns...
0
utf-8 language
PCRE (PHP <7.3)
this regex is support for all languages
Submitted by
Jigar Dhaduk
-
9 years ago
2
Replace \n by <br />
ECMAScript (JavaScript)
Replace non-ending string \n by the HTML tag
Submitted by
anonymous
-
11 years ago
1
IP Addresses
PCRE (PHP <7.3)
Matches IP Addresses with minimum false positives
Submitted by
Austin-Hanson
-
9 years ago
3
split sentence regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
Extract asp label
ECMAScript (JavaScript)
I am trying to extract the asp:label syntax using Regex but I am getting some error can some one help me
Submitted by
anonymous
-
11 years ago
3
Outside Quotes
ECMAScript (JavaScript)
match any string outside of single or double quotes
Submitted by
anonymous
-
11 years ago
3
xferlog parser (proftpd, ftpd, vsftpd, etc..)
PCRE (PHP <7.3)
This pulls out all the fields from a standard xferlog format log. Format specified here http://www.castaglia.org/proftpd/doc/xferlog.html
Submitted by
Robin Kearney
-
10 years ago
3
UUID
PCRE (PHP <7.3)
no description available
Submitted by
Jason
-
10 years ago
3
Finds dates lacking period before month (Norwegian)
PCRE (PHP <7.3)
no description available
Submitted by
EB
-
10 years ago
3
Get URL parameters
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
3
TEST
ECMAScript (JavaScript)
negation
Submitted by
anonymous
-
10 years ago
3
Alternative Capture Country Codes
PCRE (PHP <7.3)
no description available
Submitted by
Branden
-
10 years ago
3
How do I write a Regex to inspect Cisco Interfaces
PCRE (PHP <7.3)
I am asking for help in writing a regular expression to shorten this expression. I need the string below to search every interface within the range of 1 -24 to validate the configuration. If one interface does not have the required configuration then the expression fails. interface GigabitEtherne...
Submitted by
Pirates
-
10 years ago
3
Test a string against CamelCase
ECMAScript (JavaScript)
See if a string is in CamelCase format
Submitted by
Tonny Xu
-
10 years ago
3
images url match in text
PCRE (PHP <7.3)
no description available
Submitted by
Redfern.89
-
9 years ago
3
prices in nis
Python
no description available
Submitted by
molaxx
-
9 years ago
3
Div content
PCRE (PHP <7.3)
no description available
Submitted by
mohammadsaleh
-
9 years ago
3
HH:MM:SS
ECMAScript (JavaScript)
Validates 00:00:00 to 23:59:59
Submitted by
anonymous
-
9 years ago
3
youtube id und link
ECMAScript (JavaScript)
no description available
Submitted by
ogerly
-
9 years ago
3
URL Regex (protocol strict)
ECMAScript (JavaScript)
Includes resource strings, taken from here: https://gist.github.com/dperini/729294
Submitted by
Diego Perini
-
9 years ago
1
...
882
883
884
885
886
...
901
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
[
A
-
Za
-
zÀ
-
ÖØ
-
öø
-
ú
]
+
)
(
(?:
(?:
[
D
-
d
]
e
|
[
D
-
d
]
a
|
[
D
-
d
]
o
|
[
D
-
d
]
as
|
[
D
-
d
]
os
|
[
E
-
e
]
m
|
[
E
-
e
]
|
[
D
-
d
]
el
|
[
E
-
e
]
l
)
\s
(?:
[
A
-
Za
-
zÀ
-
ÖØ
-
öø
-
ú
]
+
)
)
|
(?:
[
A
-
Za
-
zÀ
-
ÖØ
-
öø
-
ú
]
+
)
)
/
gim
Open regex in editor
Description
An expression to get nouns by grouping prepositions with surnames
Submitted by
maurocsjr@gmail.com
-
2 years ago