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 420 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Simple regex to parse OVAL expressions
Java 8
This regexp helps you to parse text-based OVAL expressions. See the test samples
Submitted by
Alexander Dubok
-
2 years ago
2021-11-29 14:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Selecciona y parsea
Java 8
Dado un archivo de texto selecciona subgrupos
Submitted by
Alexis
-
2 years ago
2021-11-30 14:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Selecciona subgrupos de un .txt separados por tabulación
Java 8
Dado un archivo .txt, con su contenido separado por tab selecciona cada campo
Submitted by
Alexis Leza
-
2 years ago
2021-11-30 14:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Selecciona todos los campos separados por |
Java 8
Selecciona todos los campos de un .txt separados por |
Submitted by
Alexis Leza
-
2 years ago
2021-11-30 14:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Ejemplo de busqueda de cadena de caracteres en .txt
Java 8
Se busca una cadena de caracteres precedida por algo y con una terminación especifica
Submitted by
Alexis Leza
-
2 years ago
2021-11-30 14:52
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)
Zarf docker domain matcher
Golang
Used by Zarf to swap the registry domain/port part an image url without needed the docker libraries. usage in go: func SwapHost(src string, targetHost string) string { var parser = regexp.MustCompile((?im)^([a-z0-9\-.]+\.[a-z0-9\-]+:?[0-9]*)?/?(.+)$) var substitution = targetHost + "/$2" return...
Submitted by
Jeff McCoy
-
2 years ago
2021-12-09 22:14
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)
parse dpserver url
Golang
parse dpserver url
Submitted by
qianshen
-
2 years ago
2021-12-14 07:54
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 for douban books
Golang
提取书籍信息 get book information link like:https://book.douban.com/subject/35049755/
Submitted by
anonymous
-
2 years ago
2021-12-25 13:22
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)
晋江文学城作品界面详细信息/jjwxc.net
Golang
for http://my.jjwxc.net/novelreview.php?novelid= +novel id
Submitted by
anonymous
-
2 years ago
2021-12-29 10:57
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
1
...
6
7
8
9
10
11
12
...
21
java-test1
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
(
[
\d
]
[
\d
]
[
\d
]
+
)
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
2 years ago
2022-01-22 09:12