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,640 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Branch kanwil
PCRE2 (PHP >=7.3)
regex for took branch name with sub name
Submitted by
anonymous
-
10 months ago
2023-01-19 13:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Area Only
PCRE2 (PHP >=7.3)
Regex for took area name only
Submitted by
anonymous
-
10 months ago
2023-01-19 13:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex Kanwil
PCRE2 (PHP >=7.3)
Ambil $1 buat nampilin nama Kanwil only
Submitted by
anonymous
-
10 months ago
2023-01-19 12:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Kumpulan regex
PCRE2 (PHP >=7.3)
simpenan
Submitted by
anonymous
-
10 months ago
2023-01-19 12:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Simple digit removal
PCRE2 (PHP >=7.3)
A simple expression for removing digits from the suffix of a string.
Submitted by
Seth F.
-
10 months ago
2023-01-18 14:16
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
UNC path
PCRE2 (PHP >=7.3)
Matches a full UNC path, capturing the IP address, share, and full path.
Submitted by
Harvey Nash
-
10 months ago
2023-01-17 10:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Discord Invite Regexp
PCRE2 (PHP >=7.3)
a
Submitted by
MinerPL
-
10 months ago
2023-01-16 18:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GEDCOM match level 1 XXXX tags and all subtags
PCRE2 (PHP >=7.3)
This will match level 2 OBJE tags and all subtags: \n2 OBJE.(\n[3-9].)* This will match level 3 OBJE tags and all subtags: \n3 OBJE.(\n[4-9].)* Source: https://www.webtrees.net/index.php/en/forum/help-for-release-2-1-x/37650-import-gedcom-without-obje#97068
Submitted by
anonymous
-
a year ago
2023-01-15 13:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Anything after a question mark
PCRE2 (PHP >=7.3)
Captures anything after a question mark
Submitted by
Mohamed Heiba
-
a year ago
2023-01-14 05:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Odysee video URL
PCRE2 (PHP >=7.3)
Odysee is a free platform to watch LBRY videos. osChannel = Creator osVideo = individual movie
Submitted by
anonymous
-
a year ago
2023-01-14 04:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
OGSP-102503
PCRE2 (PHP >=7.3)
customer regex
Submitted by
anonymous
-
a year ago
2023-01-14 00:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Trying
PCRE2 (PHP >=7.3)
to search string in sip call log
Submitted by
Sachin
-
a year ago
2023-01-13 06:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
huji-oop-ex6
PCRE2 (PHP >=7.3)
regex for huji oop course ex6
Submitted by
anonymous
-
a year ago
2023-01-12 20:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Json formatter for text
PCRE2 (PHP >=7.3)
With the format: text+. Being + the end of each line, you can export a JSON formatted file with index field for you projects.
Submitted by
anonymous
-
a year ago
2023-01-12 18:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Nigerian local phone number
PCRE2 (PHP >=7.3)
validate a Nigerian local phone number
Submitted by
anonymous
-
a year ago
2023-01-12 09:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match all of the words in arbitrary order
PCRE2 (PHP >=7.3)
Specify words that all have to be contained in a line; the order is arbitrary and there may be other words around them. This is most useful for searching identifiers in source code as normal word boundaries (space or punctuation) cannot be used in these cases. The example regular expression matches...
Submitted by
Sebastian Zander
-
a year ago
2023-01-12 08:50
(Last modified a year ago)
2023-01-12 08:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match gradle dependencies
Java 8
.
Submitted by
anonymous
-
a year ago
2023-01-12 02:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
YouTube extract videoId
PCRE2 (PHP >=7.3)
Extract Video ID from URL Youtube
Submitted by
anonymous
-
a year ago
2023-01-11 17:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Delete empty lines
PCRE2 (PHP >=7.3)
Delete empty lines
Submitted by
anonymous
-
a year ago
2023-01-11 10:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
DSA
Java 8
dsa
Submitted by
DSA
-
a year ago
2023-01-10 16:21
1
...
32
33
34
35
36
37
38
...
132
A Fast Way to Redeem All Jingle Jam Steam Codes
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
.
{5}
-
.
{5}
-
.
{5}
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Mii415
-
a year ago
2022-12-02 05:35