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,260 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
GrEedy
Python
greedy or no greedy_**
Submitted by
daen3r1s
-
2 days ago
2023-09-21 14:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
HGVS - ClinVar Submission
Python
HGVS Nomenclature Check for ClinVar Submissions
Submitted by
anonymous
-
19 days ago
2023-09-04 12:57
(Last modified 19 days ago)
2023-09-04 12:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
0x28C6A6DdF8fF8A47A90A69bfE75cd89904a14d71
Golang
0x28C6A6DdF8fF8A47A90A69bfE75cd89904a14d71
Submitted by
anonymous
-
21 days ago
2023-09-02 02:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match emoji in emoji-zwj-sequences.txt
Python
Match emoji in emoji-zwj-sequences.txt
Submitted by
anonymous
-
a month ago
2023-08-18 14:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
emoji-test.txt
Python
emoji-test.txt
Submitted by
anonymous
-
a month ago
2023-08-18 12:53
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Mikrotik firewall logs
Golang
Matching for mikrotik ROS 7 Used in promtail and grafana
Submitted by
anonymous
-
a month ago
2023-08-11 19:09
(Last modified a month ago)
2023-08-11 21:09
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Python regular expression to detect any type of group link and private channel in Telegram
Python
You can use this regular expression to identify any type of Telegram link. It doesn't matter whether it is t.me or telegram.me. Links including "joinchat" are also accepted.
Submitted by
Telegram : T.me/TinyPY
-
2 months ago
2023-07-23 15:57
(Last modified 2 months ago)
2023-07-24 15:49
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
matrix.to URL regex
Python
Regex to detect and extract detail from matrix.to
Submitted by
anonymous
-
2 months ago
2023-07-18 17:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Library catalogue (VTECH V-Lib)
Python
Matches entries in a library catalogue.
Submitted by
anonymous
-
2 months ago
2023-07-11 02:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
r/ProgrammerHumor comment regex
Python
A regex that matches comments that adhere to the rules of r/ProgrammerHumor
Submitted by
anonymous
-
2 months ago
2023-07-09 17:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Fate stay/night [HuneX/PSV]
Python
Fate stay/night PS Vita version parsing
Submitted by
anonymous
-
3 months ago
2023-07-08 02:52
(Last modified 2 months ago)
2023-07-08 05:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Fate Stay/Night (PC/JP) [Py]
Python
Attempting to parse Fate/Stay Night scripts nicely
Submitted by
anonymous
-
3 months ago
2023-07-08 02:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
选择题题目与选项匹配
Python
对有ABCD四个选项的选择题题目进行匹配
Submitted by
Wang Miao
-
3 months ago
2023-07-07 00:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
comma separated ESPEC
Python
ESPEC
Submitted by
Ian Cole
-
3 months ago
2023-07-06 07:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
3 months ago
2023-06-30 01:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
NLP_Regex
Python
Learning Regex for NLP
Submitted by
anonymous
-
3 months ago
2023-06-29 15:45
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)
Catch packages from 'tdnf list' output
Golang
Every valid line will be of the form: . . . NOTE: the distribution tag is expected to start with at least one letter and be followed by at least one digit.
Submitted by
anonymous
-
3 months ago
2023-06-26 18:42
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
2
3
4
...
113
Get digits
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Golang
`
^
(
\d
+
(?:
\.
\d
{1,3}
)?
)
`
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Arthur Silva
-
5 months ago
2023-05-03 18:20