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
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 9,740 community submitted regex patterns...
0
Multi Line Copy Right Header
Java 8
Matches a copyright header in a Java-esque multi line comment
Submitted by
PhiSe
-
3 years ago
0
HAKKEr
PCRE (PHP <7.3)
dsasd
Submitted by
anonymous
-
3 years ago
2
Markdown Heading
Java 8
Parses the text following a '#' and a space all the way up to the next return character. Additional #'s can be added for parsing of other type of headings!
Submitted by
Hansen
-
3 years ago
0
parse dpserver url
Golang
parse dpserver url
Submitted by
qianshen
-
3 years ago
0
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
-
3 years ago
0
http_url_regex
PCRE (PHP <7.3)
http_url_regex
Submitted by
anonymous
-
3 years ago
0
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
-
3 years ago
0
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
-
3 years ago
0
Parse VB.Net
PCRE (PHP <7.3)
Goal is to map Visual Basic functions: their names, input parameters, dependencies, and outputs. Eventual goal is to map interactions between functions to identify circular logic.
Submitted by
anonymous
-
3 years ago
1
Screencast.com video url regex
PCRE (PHP <7.3)
Screencast.com video url regex
Submitted by
anonymous
-
3 years ago
0
Interview Test Valid Odds
Java 8
Interview Test Valid Odds
Submitted by
anonymous
-
3 years ago
1
Extract everything between TD brackets
PCRE (PHP <7.3)
This is used to extract everything between TD brackets.
Submitted by
<a href="https://www.dug.to">Regex101</a>
-
3 years ago
1
Save everything between <code>...</code> brackets
PCRE (PHP <7.3)
This is what I created to paste in web page source code and regex to extract content between whichever HTML brackets that I choose.. In this case, it's the HTML brackets.
Submitted by
https://dug.to
-
3 years ago
0
小数,两位小数
PCRE (PHP <7.3)
^(0-9*)+(\.[0-9]{1,2})?$
Submitted by
zhanyue
-
3 years ago
0
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
-
3 years ago
0
Selecciona todos los campos separados por |
Java 8
Selecciona todos los campos de un .txt separados por |
Submitted by
Alexis Leza
-
3 years ago
0
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
-
3 years ago
0
Selecciona y parsea
Java 8
Dado un archivo de texto selecciona subgrupos
Submitted by
Alexis
-
3 years ago
0
Array matcher from string
PCRE (PHP <7.3)
Array matcher from string
Submitted by
anonymous
-
3 years ago
0
molecule elements parser
PCRE (PHP <7.3)
allows to get the sub elements of a molecule symbol and their number.
Submitted by
Quettle
-
3 years ago
1
...
23
24
25
26
27
...
487
Array matcher from string
0
Regular Expression
PCRE (PHP <7.3)
/
(
[
\'\"
]
?
[
\[
]
)
(
.
*
)
(
[
\]
]
[
\'\"
]
?
)
/
g
Open regex in editor
Description
Array matcher from string
Submitted by
anonymous
-
3 years ago