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 360 community submitted regex patterns...
0
ip address
Java 8
ip address regex
Submitted by
shyam
-
2 years ago
0
tas-branch-validation
Java 8
tas-branch-validation
Submitted by
doron-hafner
-
2 years ago
0
Kyivstar phone number
Java 8
Kyivstar phone number
Submitted by
milka_vlad
-
2 years ago
0
Take segments to string
Java 8
Take segments to string
Submitted by
Lufram
-
2 years ago
0
Other segment
Java 8
Other segments
Submitted by
Lufram
-
2 years ago
0
awdwa
Java 8
dwa
Submitted by
dwa
-
2 years ago
0
section headers
Java 8
ff
Submitted by
ff
-
2 years ago
0
Split up text to 40 signs
Java 8
This splits a text into sequences of max. 40 chars, concatting with a pipe
Submitted by
anonymous
-
2 years ago
0
Pick uuidValue from jSON payload
Java 8
.
Submitted by
jeevan
-
2 years ago
0
test everything
Java 8
hello
Submitted by
anonymous
-
2 years ago
0
SUPPL REGEX
Java 8
Regex to get only information in the SUPPL subdirectory
Submitted by
O'Connor
-
2 years ago
(Last modified 2 years ago)
0
Unicode Hexadecimal
Rust
Find hexadecimal numbers using Extended Unicode Support.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Replace namespaces in xpath with local-name
.NET 7.0 (C#)
Replace namespaces in xpath with local-name
Submitted by
pvlzh
-
2 years ago
0
Martch Letras y Parentesis
Java 8
Martch Letras y Parentesis
Submitted by
Daniel Gonzalez
-
2 years ago
0
for killerswim
.NET 7.0 (C#)
a
Submitted by
anonymous
-
2 years ago
0
Youtube Video Id
.NET 7.0 (C#)
Matches the video Id in Youtube URL.
Submitted by
CW
-
a year ago
0
JabRef biblatex alphabetic adaption
Java 8
A regex used to emulate the biblatex alphabetic citation key style in JabRef: https://discourse.jabref.org/t/use-field-markers-in-regex-for-citation-key-generator/3842
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
catch inner element
Java 8
working regex for any
Submitted by
anonymous
-
a year ago
0
detect inner function with recursiion
Java 8
working for all not for java
Submitted by
anonymous
-
a year ago
0
APA Citation v1
Java 8
Parse APA v7 citations
Submitted by
mathias v
-
a year ago
1
...
15
16
17
18
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