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)
Interview Test Valid Odds
Java 8
Interview Test Valid Odds
Submitted by
anonymous
-
2 years ago
2021-12-02 15:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
First Name (+ Middle Name) and Last Name Shredder
Java 8
Allows you to shredder first name (+ middle name) and last name.
Submitted by
Yusuf Yaşar
-
2 years ago
2021-12-09 19:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract (4.) Switch port state test values by columns
Java 8
adminl2j@child-ex2300-24t> show interfaces ge-0/0/0 terse Interface Admin Link Proto Local Remote ge-0/0/0 up up ge-0/0/0.0 up up eth-switch
Submitted by
Dobri
-
2 years ago
2021-12-10 18:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Multi Line Copy Right Header
Java 8
Matches a copyright header in a Java-esque multi line comment
Submitted by
PhiSe
-
2 years ago
2021-12-16 09:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
releaes-jdk
Java 8
parse jdk version source
Submitted by
youliang.feng
-
2 years ago
2021-12-24 01:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex para extraer nombres de subreddits
Java 8
Ver
Submitted by
@atnbueno
-
2 years ago
2021-12-28 20:55
(Last modified 2 years ago)
2022-01-29 11:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Lua Comment RegEx
Java 8
matches lua comments
Submitted by
Fiereu
-
2 years ago
2022-01-02 18:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
acepta solo consonantes pero solo va en java
Java 8
select consonants but only do work in java ...
Submitted by
anonymous
-
2 years ago
2022-01-04 12:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
fdsf
Java 8
sdf
Submitted by
anonymous
-
2 years ago
2022-01-07 10:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
id card
Java 8
打断点
Submitted by
anonymous
-
2 years ago
2022-01-07 11:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Function parameter selection
Java 8
Allows to select multiple type of parameters for them to be handled differently. The regex can get strings ( "example string" ), variable name of boolean value ( name or true or false ) or integers and doubles ( 5 or 4.5 ). The variables names and boolean values have to be checked in the program u...
Submitted by
anonymous
-
2 years ago
2022-01-07 13:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Mpe
Java 8
coda test
Submitted by
anonymous
-
2 years ago
2022-01-10 16:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match CLI argument to
Java 8
Matches argumetn to as: -t to -t= ...
Submitted by
rperez-torro
-
2 years ago
2022-01-18 17:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
java-test1
Java 8
java test string
Submitted by
anonymous
-
2 years ago
2022-01-22 09:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Hitech RTOZONE
Java 8
Checks the registration number's validity
Submitted by
Sid
-
2 years ago
2022-01-23 17:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Remove duplicate lines in sorted text
Java 8
See
Submitted by
@atnbueno
-
2 years ago
2022-01-30 14:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
if else parser part 1
Java 8
A basic if else parser. It automatically captures the if equation and the result. It supports if, elif, and else statements. Note: for elif statements part 2 is required. This is because Regex can't use one group to capture multiple elif statements. Part 2 can be found here
Submitted by
Rubeste
-
2 years ago
2022-02-06 21:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
if else parser part 2
Java 8
This is part 2 of my if else parser. Part 2 is only needed for elif statements. Note: From the elif result from part 1 add a #end to close the statement. I might change it a bit in the future so this isn't needed. ...
Submitted by
Rubeste
-
2 years ago
2022-02-06 21:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ISO 3166-1 alpha-3
Java 8
ISO 3166-1 alpha-3 countries for validation
Submitted by
anonymous
-
2 years ago
2022-02-08 09:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Verificar caracter repetido
Java 8
Verificar caracter repetido
Submitted by
anonymous
-
2 years ago
2022-03-03 02:53
1
...
4
5
6
7
8
9
10
...
16
Valid date (DD-MM-YYYY) from 1900 to 2099
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
^
(
(
0
)*
[
1
-
9
]
|
1
[
012
]
|
3
[
01
]
)
-
(
(
0
)*
[
1
-
9
]
|
1
[
012
]
|
2
[
012
]
|
3
[
01
]
)
-
(
19
[
0
-
9
]
[
0
-
9
]
|
20
[
0
-
9
]
[
0
-
9
]
)
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Nevix-Sama
-
9 months ago
2023-02-24 19:28