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 2,180 community submitted regex patterns...
0
选择题题目与选项匹配
Python
对有ABCD四个选项的选择题题目进行匹配
Submitted by
Wang Miao
-
9 months ago
2
URL Regex
.NET 7.0 (C#)
Matches protocol, domain, port, path, query and anchor as named capturing groups.
Submitted by
Jonathan
-
9 months ago
(Last modified 9 months ago)
0
comma separated ESPEC
Python
ESPEC
Submitted by
Ian Cole
-
9 months ago
0
Nginx parse error log msg
Python
Regex to parse nginx error logs, that can't be converted to json in nginx. To use with fluentbit update group labels from "?P" to "?"
Submitted by
diepes
-
9 months ago
0
NLP_Regex
Python
Learning Regex for NLP
Submitted by
anonymous
-
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
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
Camel-Case Splitter (preserves Acronyms)
.NET 7.0 (C#)
Splits camel-case string and preserves acronyms
Submitted by
Tyler S.
-
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
1
TH̘Ë͖́̉ ͠P̯͍̭O̚N̐Y̡ H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎ ̭ͯ̿̔̀ͅ
Python
This would appear to violate the premise of this famous StackOverflow answer, however this is not parsing as such, only matching or heuristic identification. Technically, all text is HTML if served to a browser in such a way that the browser chooses to interpret it that way, e.g. using a text/html ...
Submitted by
Alice Bevan-mcgregor
-
9 months ago
0
001~999之间的整数
Python
匹配001~999之间的整数
Submitted by
jgx
-
9 months ago
0
scriptpak №1
Python
scriptpak №1
Submitted by
anonymous
-
9 months ago
0
match ipv4 dynamic add
Python
match ipv4 dynamic add
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
URL Validation
.NET 7.0 (C#)
Can be used to validate on URL's.
Submitted by
anonymous
-
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
Youtube Video Id
.NET 7.0 (C#)
Matches the video Id in Youtube URL.
Submitted by
CW
-
10 months ago
0
Valid HTTP url
Python
Matches in python valid urls (excludes some edge cases), but pretty good to verify an URL before scraping it
Submitted by
anonymous
-
10 months ago
(Last modified 10 months ago)
0
匹配中文数字,用于逆向文本标准化
Python
大部分应当匹配的数字都匹配上了。 第2个捕获组,即是内容(可能加的有单位,需要手动去除)
Submitted by
HaujetZhao
-
10 months ago
1
Wikipedia ISO 4217 (Currency Codes) table to C# enum
.NET 7.0 (C#)
This converts the values in this) table to C# code. Example: pulic enum Iso4217 { /* output here */...
Submitted by
Diemaco
-
10 months ago
1
2
3
4
5
...
109
Phone number for all countries
2
Regular Expression
.NET 7.0 (C#)
@"
^
(?<code>
\+
?
\d
{1,3}
)
[
-
\s
]
{0,}
(?<number>
\(
?
\d
{3}
\)
?
[
-
\s
]
{0,}
\d
{3}
[
-
\s
]
{0,}
\d
{2}
[
-
\s
]
{0,}
\d
{2}
)
$
"
gm
Open regex in editor
Description
Phone number for all countries. Valid symbols: ( ), -, whitespace
Submitted by
Alexander Smirnov
-
a year ago