Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET (C#)
Rust
Sponsors
Community Patterns
Search among 320 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Kotlin FTP Proto Check
Java 8
ftpProtoCheck
Submitted by
anonymous
-
2 years ago
2021-05-31 07:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
2 years ago
2021-06-03 21:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Password in java
Java 8
password in java
Submitted by
anonymous
-
2 years ago
2021-06-04 04:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Minecraft Color Code Regex
Java 8
Easy to remove minecraft color codes from strings.
Submitted by
Saniee
-
2 years ago
2021-06-05 11:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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.
-
2 years ago
2021-06-05 20:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MaskTDCView4D
Java 8
permite enmascarar la cadena de caracteres y deja mostrar los ultimos 4 digitos
Submitted by
anonymous
-
2 years ago
2021-06-10 03:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
primerCaracter
Java 8
obtiene el primer caracter de cada palabra luego de un espacio
Submitted by
anonymous
-
2 years ago
2021-06-10 18:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex 1
Java 8
Розділення речень в тексті
Submitted by
DJI
-
2 years ago
2021-07-21 12:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
2 years ago
2021-08-03 19:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
email with cyrillic
Java 8
email with cyrillic
Submitted by
Mpchest
-
2 years ago
2021-08-04 14:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
2 years ago
2021-08-08 17:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex to verify a java method
Java 8
Verifies java methods
Submitted by
Marco Galindo
-
2 years ago
2021-08-16 17:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
移除非法字符
Java 8
冲鸭!
Submitted by
anonymous
-
2 years ago
2021-08-19 13:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
123
Java 8
123
Submitted by
anonymous
-
2 years ago
2021-08-22 14:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Yuque
Java 8
Yuque
Submitted by
anonymous
-
2 years ago
2021-08-26 01:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
2 years ago
2021-09-14 13:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email Validation Pattern
Java 8
Email Validation Pattern
Submitted by
Aslam Anver
-
2 years ago
2021-09-28 07:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
adi1
Java 8
https://internetinthecar-e2e\.((sfr|a1|swisscom|proximus|elisa|tango|telenor-no|telenor-se|yousee|plus|telia|bite-lv|bite-lt|a1-)\.)?iot\.vodafone\.com/sso/authorize/callback|https://internetinthecar-e2e-new\.iot\.vodafone\.com/sso/authorize/callback
Submitted by
anonymous
-
2 years ago
2021-11-01 21:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Detect [YOTI] in string.xml
Java 8
we can use this regex?
Submitted by
anonymous
-
2 years ago
2021-11-02 17:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
subnet cidr check
Java 8
subnet cidr check example 192.168.1.0/30
Submitted by
Di
-
2 years ago
2021-11-04 17:58
1
2
3
4
5
6
7
8
...
16
URLs and Emails RegEx
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
.NET (C#)
@"
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
(?:
\/
[
\+
~%
\/
.
\w
\-
_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
"
ig
Open regex in editor
Description
Loading markdown...
Submitted by
kosalanuwan
-
a year ago
2022-08-08 16:36