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,280 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
detect inner function with recursiion
Java 8
working for all not for java
Submitted by
anonymous
-
6 months ago
2023-06-07 14:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
APA Citation v1
Java 8
Parse APA v7 citations
Submitted by
mathias v
-
6 months ago
2023-06-08 11:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Java RegEx Group Test
Java 8
Test
Submitted by
anonymous
-
6 months ago
2023-06-08 12:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Java RegExMatch Example
Java 8
This is an example for stackoverflow
Submitted by
anonymous
-
6 months ago
2023-06-08 12:20
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
-
6 months ago
2023-06-09 16:09
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
-
6 months ago
2023-06-12 14:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
scriptpak №1
Python
scriptpak №1
Submitted by
anonymous
-
5 months ago
2023-06-13 10:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
001~999之间的整数
Python
匹配001~999之间的整数
Submitted by
jgx
-
5 months ago
2023-06-14 11:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
5 months ago
2023-06-19 17:38
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
-
5 months ago
2023-06-26 05:40
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.
-
5 months ago
2023-06-27 14:29
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
-
5 months ago
2023-06-27 23:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
NLP_Regex
Python
Learning Regex for NLP
Submitted by
anonymous
-
5 months ago
2023-06-29 15:45
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
-
5 months ago
2023-06-30 01:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
comma separated ESPEC
Python
ESPEC
Submitted by
Ian Cole
-
5 months ago
2023-07-06 07:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
选择题题目与选项匹配
Python
对有ABCD四个选项的选择题题目进行匹配
Submitted by
Wang Miao
-
5 months ago
2023-07-07 00:59
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
-
5 months ago
2023-07-08 02:50
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
-
5 months ago
2023-07-08 02:52
(Last modified 5 months ago)
2023-07-08 05:58
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
-
5 months ago
2023-07-09 17:24
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
-
5 months ago
2023-07-11 02:22
1
...
111
112
113
114
Fate stay/night [HuneX/PSV]
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Python
r"
(?<=
PAGE
\(
)
(?!
990
)
(?P<pg>
[
\d
]
{1,4}
)
|
(?:
(?<=
_r
|
[
\w
]
\(
)
(?P<txt_a>
[
『「“
]
[^
\n
]
+
(?=
_n
\n
)
)
|
(?P<txt_b>
[
『「“
]
.
*
)
)
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
5 months ago
2023-07-08 02:52
(Last modified 5 months ago)
2023-07-08 05:58