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
Regex to capture AlphaNumeric String of 7 or 11 length(Must contain at least one Alphabet and Must contain at least one Numeric)
Java 8
Regex to capture AlphaNumeric String Length should be 7 or 11 Must contain at least one Alphabet Must contain at least one Numeric
Submitted by
Suman Maharjan
-
4 years ago
0
my regex
Java 8
test
Submitted by
anonymous
-
4 years ago
0
http{s} non-capturing regex kotlin
Java 8
This is a kotlin implementation of a http{s} protocal check for when routing
Submitted by
yugely
-
4 years ago
0
Kotlin FTP Proto Check
Java 8
ftpProtoCheck
Submitted by
anonymous
-
4 years ago
0
Therapi param type name fix
Java 8
This regex extracts only the param type and omits any prefixed annotations included in the name.
Submitted by
anonymous
-
4 years ago
0
Password in java
Java 8
password in java
Submitted by
anonymous
-
4 years ago
0
Minecraft Color Code Regex
Java 8
Easy to remove minecraft color codes from strings.
Submitted by
Saniee
-
4 years ago
0
Pull Words from Sentence
Java 8
Simple little regex to pull words out of a sentence. Obviously \w+ exists, but this accounts for a few corner cases that would normally be missed. Things like let's or ten-four good-buddy.
Submitted by
Tony B.
-
4 years ago
0
MaskTDCView4D
Java 8
permite enmascarar la cadena de caracteres y deja mostrar los ultimos 4 digitos
Submitted by
anonymous
-
4 years ago
0
primerCaracter
Java 8
obtiene el primer caracter de cada palabra luego de un espacio
Submitted by
anonymous
-
4 years ago
0
Regex 1
Java 8
Розділення речень в тексті
Submitted by
DJI
-
3 years ago
0
File information modify
Java 8
file_(name)|file_(path)|file_(size)|file_(date) - searching (regex rule) file_info, name, path, size, date - keeping (result)
Submitted by
Dorival Trindade
-
3 years ago
0
email with cyrillic
Java 8
email with cyrillic
Submitted by
Mpchest
-
3 years ago
0
select
Java 8
select\s+(\|((\w+(\.\w+)?)+(\s?,\s?\w+(\.\w+)?))|((\w+\(|(\w+\.\w+)?\))(\s+\,\s+)?)+)\s+from\s+(\w+(\s?,\s?\w+)*\;?)(\s+((\w+\s+join)\s+(\w+(\.\w)?\s+on\s+(\w+(\.\w+)?\s+=\s+\w+(\.\w+)?)?)(\s+,\s+)?)+)?(\s+((limit\s+(\w+)?\s?(\,\w+\;)?)|((where)?\s+?(+\s?;))))?
Submitted by
anonymous
-
3 years ago
0
Regex to verify a java method
Java 8
Verifies java methods
Submitted by
Marco Galindo
-
3 years ago
0
移除非法字符
Java 8
冲鸭!
Submitted by
anonymous
-
3 years ago
0
123
Java 8
123
Submitted by
anonymous
-
3 years ago
0
Yuque
Java 8
Yuque
Submitted by
anonymous
-
3 years ago
0
Smartling custom placeholders and liquid strategy
Java 8
Suggested Smartling custom placeholder regex to support liquid syntax as documented for Braze. Because default value cannot be extracted easily recommend rewrting the liquite to avoid using default filters.
Submitted by
Eric Negron
-
3 years ago
0
Email Validation Pattern
Java 8
Email Validation Pattern
Submitted by
Aslam Anver
-
3 years ago
1
...
5
6
7
8
9
...
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
-
2 years ago