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 17,420 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Rig Maya
Python
no description available
Submitted by
Mathieu Bouzard
-
3 years ago
2020-09-21 22:12
(Last modified 3 years ago)
2021-05-10 19:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HTTP or HTTPs URL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-04 11:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
positive lookahead example1
Python
Words before (-) or (+)
Submitted by
anonymous
-
5 years ago
2019-02-04 11:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
positive lookahead example2
Python
Words before ->
Submitted by
anonymous
-
5 years ago
2019-02-04 11:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match multiple spaces
Python
Match multiple space appearances
Submitted by
anonymous
-
5 years ago
2019-02-04 23:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
have X shipmet
Python
no description available
Submitted by
anonymous
-
5 years ago
2019-02-05 02:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Your mom
Python
no description available
Submitted by
anonymous
-
5 years ago
2019-02-06 17:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
capture words with no numbers in them
Python
no description available
Submitted by
anonymous
-
5 years ago
2019-02-06 18:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Client return check
Python
no description available
Submitted by
anonymous
-
5 years ago
2019-02-06 19:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Java Log -> Fluentd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-06 19:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Jenkins Log -> Fluentd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-06 19:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Jenkins Log -> Fluentd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-06 19:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Neto Log Line Format
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-06 22:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
前後條件_改中文標點
Python
利用Look_behind 【字串】look_ahead 修改中文標點 【, *] 【,\s*] ➔ 空白0次或多次 【,\s?] ➔ 空白0次或1次 【,\s+] ➔ 空白1次或多次
Submitted by
anonymous
-
5 years ago
2019-02-07 03:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
group catch
Python
搜尋到的內容,區分為\1, \2, 代換到replace的位置 python和其他的程式,用法不同,如:$1,$2
Submitted by
anonymous
-
5 years ago
2019-02-07 03:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
group catch 第二版 (group有名字)
Python
搜尋到的內容,區分為\g, \g, 代換到replace的位置 python和其他的程式,用法不同,如:$1,$2
Submitted by
anonymous
-
5 years ago
2019-02-07 03:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
group catch 第二版 (group有名字)
Python
搜尋到的內容,區分為\g, \g, 代換到replace的位置 python和其他的程式,用法不同,如:$1,$2
Submitted by
anonymous
-
5 years ago
2019-02-07 04:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
group catch (group有名字)
Python
代換搜尋到的兩個group,中間加字
Submitted by
anonymous
-
5 years ago
2019-02-07 04:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
numbers with decimals
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-07 08:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
general direction
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-07 09:04
1
...
723
724
725
726
727
728
729
...
871
Europe - Portugal - TIN
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
[
0
-
9
]
{9}
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
4 years ago
2020-01-30 22:11