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,340 community submitted regex patterns...
0
Extract any http https and any url form
PCRE (PHP <7.3)
This will help you to extract any URL inside your text
Submitted by
Abdullah Alweheid
-
2 years ago
0
User-Agent
PCRE (PHP <7.3)
Parser
Submitted by
sn3kdev
-
2 years ago
0
^[A-Z,a-z,\-, ,\&]+$
.NET 7.0 (C#)
Koray Bilgi, Text-Regex
Submitted by
anonymous
-
2 years ago
0
01 Jan 2022 Mon 01:02:03
.NET 7.0 (C#)
01 Jan 2022 Mon 01:02:03
Submitted by
anonymous
-
2 years ago
0
USD
.NET 7.0 (C#)
USD
Submitted by
anonymous
-
2 years ago
0
Minimum 10 herhangi dijit
.NET 7.0 (C#)
Minimum 10 herhangi dijit
Submitted by
anonymous
-
2 years ago
0
15.02.2022 15:00:00
.NET 7.0 (C#)
15.02.2022 15:00:00
Submitted by
anonymous
-
2 years ago
0
Parse arguments
PCRE (PHP <7.3)
Parse arguments
Submitted by
Ofir Yariv
-
2 years ago
0
MBI Regex
PCRE (PHP <7.3)
validates against the MBI format published by CDC
Submitted by
i410hlr
-
2 years ago
0
Parse getopt options from a Bash script
PCRE (PHP <7.3)
This will parse the parameters/arguments that a Bash script when it uses getopt(s). Groups: name,short,long,while Example cases: ...
Submitted by
Spyingwind
-
2 years ago
0
Mysite
PCRE (PHP <7.3)
Hello
Submitted by
anonymous
-
2 years ago
0
Regex Colon Code For Emoji
PCRE (PHP <7.3)
Groups the ID, and finds the whole colon code
Submitted by
ZackiBoiz
-
2 years ago
(Last modified 2 years ago)
0
Isolate some string (any caracthers) in between isolators, none or many
PCRE (PHP <7.3)
This expression isolates a string or many strings of any caracthers that are preceded and are followed by a pair of colons in a long text string. Practical for tooltip insertion. Find a word in the string, search in the database, construct the tooltip and insert within the returned string. Use wi...
Submitted by
Marc De Gagné
-
2 years ago
0
semantic tags
PCRE (PHP <7.3)
semantic tags
Submitted by
anonymous
-
2 years ago
0
Function arguments regex
PCRE (PHP <7.3)
A simple regex to match individual arguments of a function.
Submitted by
anonymous
-
2 years ago
0
Get ip address (only ipv6) Validator
.NET 7.0 (C#)
Get ip address (only ipv6) Validator
Submitted by
Mr.Tang
-
2 years ago
(Last modified 2 years ago)
0
Get ip address (only ipv4) Validator
.NET 7.0 (C#)
Get ip address (only ipv4) Validator
Submitted by
Mr.Tang
-
2 years ago
(Last modified 2 years ago)
0
Get anything between parentheses
PCRE (PHP <7.3)
Use to get any character, digit or space between parentheses
Submitted by
Vini Pereira
-
2 years ago
0
Closes properly self-closing tags in HTML
PCRE (PHP <7.3)
In an HTML will replace all auto-closed tags (/>) with a proper tag closing. It works even if the tag has a closing sign (>) inside an attribute.
Submitted by
nabab
-
2 years ago
0
Remove all html from string
PCRE (PHP <7.3)
Remove all tags and special character such as
Submitted by
enrico mosca
-
2 years ago
1
...
463
464
465
466
467
Community Library Entry
0
Regular Expression
.NET 7.0 (C#)
@"
^
(?=
(?<http>
(?:
https
?
:
\/\/
){1}
(?:
www
\.
)?
)?
)
(?
(?=
\k<http>
?
(?<ipaddr>
(?:
\d
{1,3}
\.
){3}
\d
{1,3}
(?:
\:
\d
{1,5}
)?
)
)
\k<http>
?
\k<ipaddr>
(?:
\.
[
\w
]
{1,9}
)?
|
\k<http>
(?:
[
\w
]
\.
?
){1,255}
\.
[
\w
]
{1,9}
)
(?:
\/
.
*
)?
$
"
gm
Open regex in editor
Description
Can be used to validate on URL's.
Submitted by
anonymous
-
a year ago