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 9,720 community submitted regex patterns...
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)
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)
catch inner element
Java 8
working regex for any
Submitted by
anonymous
-
6 months ago
2023-06-07 14:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
jiggl
PCRE (PHP <7.3)
toggl track to jira
Submitted by
anonymous
-
6 months ago
2023-06-07 10:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
6 months ago
2023-06-06 15:00
(Last modified 6 months ago)
2023-06-06 16:27
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
-
6 months ago
2023-06-05 02:15
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
-
6 months ago
2023-05-31 08:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
for killerswim
.NET (C#)
a
Submitted by
anonymous
-
6 months ago
2023-05-29 23:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
string substitution in bash behaving differently from PCRE(PHP<7.3>
PCRE (PHP <7.3)
question about bash not returning expected results, the same result as this saved regex returns here
Submitted by
anonymous
-
6 months ago
2023-05-27 12:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
strip host port
PCRE (PHP <7.3)
removes port number from URL
Submitted by
pc
-
6 months ago
2023-05-26 15:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Martch Letras y Parentesis
Java 8
Martch Letras y Parentesis
Submitted by
Daniel Gonzalez
-
6 months ago
2023-05-26 00:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Proxy Matcher
PCRE (PHP <7.3)
Validate 1-223.0-255.0-255.0-255:1-65535
Submitted by
dev.tntd2k2
-
6 months ago
2023-05-23 13:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Replace namespaces in xpath with local-name
.NET (C#)
Replace namespaces in xpath with local-name
Submitted by
pvlzh
-
6 months ago
2023-05-23 08:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
latlonlatlon
PCRE (PHP <7.3)
gg
Submitted by
anonymous
-
6 months ago
2023-05-22 19:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Riedler's 2nd URL regex
Java 8
why did I make this?
Submitted by
Riedler
-
7 months ago
2023-05-14 22:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Home
Golang
Dj dus er geen je een je aan je enige eerst een he we er
Submitted by
Webmaster
-
7 months ago
2023-05-13 08:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
extract <*n or <n where n is a number
Golang
see https://stackoverflow.com/questions/76228402/regex-to-extract-n-where-n-is-digit
Submitted by
code_monk
-
7 months ago
2023-05-11 14:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ENEL T5 Mono
PCRE (PHP <7.3)
T
Submitted by
anonymous
-
7 months ago
2023-05-11 13:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Phrase enclosed case insensitive
.NET (C#)
Match everything enclosed, say, a phrase, with case insensitive.
Submitted by
kosalanuwan
-
7 months ago
2023-05-09 15:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
all instagram regex
PCRE (PHP <7.3)
(?:https?:\/\/)?(?:www.)?instagram.com\/?([a-zA-Z0-9\.\\-]+)?\/([p]+)?([reel]+)?([tv]+)?([stories]+)?\/([a-zA-Z0-9\-\\.]+)\/?([0-9]+)?
Submitted by
threedot
-
7 months ago
2023-05-09 10:41
1
2
3
4
5
6
...
486
string substitution in bash behaving differently from PCRE(PHP<7.3>
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
.
*
)
_
(
\d
{1,3}
$
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 months ago
2023-05-27 12:58