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 2,160 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
3 months ago
2023-06-27 23:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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.
-
3 months ago
2023-06-27 14:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Camel-Case Splitter (preserves Acronyms)
.NET (C#)
Splits camel-case string and preserves acronyms
Submitted by
Tyler S.
-
3 months ago
2023-06-26 18:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
3 months ago
2023-06-26 05:40
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
3 months ago
2023-06-15 18:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
001~999之间的整数
Python
匹配001~999之间的整数
Submitted by
jgx
-
3 months ago
2023-06-14 11:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
scriptpak №1
Python
scriptpak №1
Submitted by
anonymous
-
3 months ago
2023-06-13 10:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match ipv4 dynamic add
Python
match ipv4 dynamic add
Submitted by
anonymous
-
3 months ago
2023-06-12 14:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
last last name wo suffix1
Python
last last name wo suffix1
Submitted by
josh
-
4 months ago
2023-06-09 16:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL Validation
.NET (C#)
Can be used to validate on URL's.
Submitted by
anonymous
-
4 months ago
2023-06-09 06:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
4 months ago
2023-06-06 17:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Youtube Video Id
.NET (C#)
Matches the video Id in Youtube URL.
Submitted by
CW
-
4 months ago
2023-06-05 02:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
4 months ago
2023-05-31 13:32
(Last modified 4 months ago)
2023-06-02 15:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配中文数字,用于逆向文本标准化
Python
大部分应当匹配的数字都匹配上了。 第2个捕获组,即是内容(可能加的有单位,需要手动去除)
Submitted by
HaujetZhao
-
4 months ago
2023-05-31 13:32
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Wikipedia ISO 4217 (Currency Codes) table to C# enum
.NET (C#)
This converts the values in this) table to C# code. Example: pulic enum Iso4217 { /* output here */...
Submitted by
Diemaco
-
4 months ago
2023-05-31 08:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
chit_kaung_song_names
Python
Extract Singer Chit Kaung's song names in Myanmar + English
Submitted by
paing
-
4 months ago
2023-05-31 06:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Author cite
Python
Get author names from shitty import
Submitted by
anonymous
-
4 months ago
2023-05-30 13:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
for killerswim
.NET (C#)
a
Submitted by
anonymous
-
4 months ago
2023-05-29 23:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
shift_factor
Python
extracting constraint id from composed column header
Submitted by
Dario Romero
-
4 months ago
2023-05-26 20:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
List of lists of numbers (no leading zeros)
Python
List of lists of numbers (no leading zeros)
Submitted by
anonymous
-
4 months ago
2023-05-26 19:56
1
2
3
4
5
...
108
UNC Path Component Validation - Sharename
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
.NET (C#)
@"
(?=
^.
{1,80}
$
)
(
^
[^
\p{C}
<>+=;,*?
\\\/\[\]\:\|""
]
+
$
)
"
gs
Open regex in editor
Description
Loading markdown...
Submitted by
thejamesdecker
-
9 months ago
2023-01-02 01:10