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
Community Patterns
Search among 11,620 community submitted regex patterns...
0
Youtube Video Id
.NET 7.0 (C#)
Matches the video Id in Youtube URL.
Submitted by
CW
-
10 months ago
0
JabRef biblatex alphabetic adaption
Java 8
A regex used to emulate the biblatex alphabetic citation key style in JabRef: https://discourse.jabref.org/t/use-field-markers-in-regex-for-citation-key-generator/3842
Submitted by
anonymous
-
10 months ago
(Last modified 10 months ago)
0
Regex para Versión de Software
Python
Aún está pendiente que detecte ciertas versiones, como cuando trae la fecha o el 32/64 bits, build X, entre otros ejemplos
Submitted by
anonymous
-
10 months ago
0
jiggl
PCRE (PHP <7.3)
toggl track to jira
Submitted by
anonymous
-
10 months ago
0
catch inner element
Java 8
working regex for any
Submitted by
anonymous
-
10 months ago
0
detect inner function with recursiion
Java 8
working for all not for java
Submitted by
anonymous
-
10 months ago
0
APA Citation v1
Java 8
Parse APA v7 citations
Submitted by
mathias v
-
10 months ago
0
Java RegEx Group Test
Java 8
Test
Submitted by
anonymous
-
10 months ago
0
Java RegExMatch Example
Java 8
This is an example for stackoverflow
Submitted by
anonymous
-
10 months ago
0
URL Validation
.NET 7.0 (C#)
Can be used to validate on URL's.
Submitted by
anonymous
-
10 months ago
0
last last name wo suffix1
Python
last last name wo suffix1
Submitted by
josh
-
10 months ago
0
match ipv4 dynamic add
Python
match ipv4 dynamic add
Submitted by
anonymous
-
10 months ago
0
scriptpak №1
Python
scriptpak №1
Submitted by
anonymous
-
10 months ago
0
001~999之间的整数
Python
匹配001~999之间的整数
Submitted by
jgx
-
9 months ago
0
Cover dates from 2009 and older in French format and English
Java 8
Covering Dates starting from year 2009 and older in French and English Some of the valid Dates format April 2nd 2008 April 2 2008 April 02 2008...
Submitted by
Francois-Alexandre Valade-Casaubon
-
9 months ago
0
Page X of X
Python
Only matches patterns like "Page 1 of 1", "Page 2 of 2", "Page 3 of 3", "Page 4 of 4", "Page 106 of 106", etc. Only works when page numbers in the string are the same.
Submitted by
anonymous
-
9 months ago
0
Camel-Case Splitter (preserves Acronyms)
.NET 7.0 (C#)
Splits camel-case string and preserves acronyms
Submitted by
Tyler S.
-
9 months ago
0
MTN Momo Infos
Python
A regex to extract meaningful infos from a Momo message (mobile money) which is recurrent in Africa.
Submitted by
Hans T.
-
9 months ago
0
Regex para Logs de Kiwi Log Forwarder
Python
Los logs de Kiwi Log Forwarder no se guardan de manera correcta como un CSV, por lo que tengo la idea de con una regex vaciarlos a un CSV bien hecho para poder tener mejor visualización de estos
Submitted by
anonymous
-
9 months ago
0
NLP_Regex
Python
Learning Regex for NLP
Submitted by
anonymous
-
9 months ago
1
...
578
579
580
581
Match XML that has a single root element
-2
Regular Expression
PCRE (PHP <7.3)
/
^\s
*
(?:
<
\?
xml
[^
>
]
+
>
)?
\s
*
<
(
[^
>
]
+
?
)
>
[
\s\S
]
+
?
<
\/
\1
>
\s
*
?
$
/
Open regex in editor
Description
Can be used as a basic validator to ensure that XML has only a single root element
Submitted by
Jerome Wilson
-
9 years ago