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,620 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Siebel Id
Golang
no description available
Submitted by
anonymous
-
7 years ago
2016-11-03 10:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
STEAM GAME KEYS
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-11-18 11:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Decimal numbers
PCRE (PHP <7.3)
Matches decimal numbers as accepted by e.g. Octave.
Submitted by
anonymous
-
7 years ago
2016-12-14 14:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Dailymotion videos ids
PCRE (PHP <7.3)
find ids of video in dailymotion urls in text
Submitted by
anonymous
-
7 years ago
2017-01-03 17:45
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Strip Android Logs of Date/Time and process
PCRE (PHP <7.3)
Strip Android Logs of Date/Time and process. This helps if you want to diff 2 logs and remove the different date/time and process numbers
Submitted by
anonymous
-
7 years ago
2017-01-04 19:15
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Insert comma as thousands delimiter
PCRE (PHP <7.3)
The following regular expression can be used to insert commas as thousands delimiter. The pattern was taken from the http://www.dlang.org web site.
Submitted by
Unknown
-
7 years ago
2017-01-20 23:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Italian check codeline
PCRE (PHP <7.3)
Expression matches magnetic codeline of checks, in italian banking system. i.e. >1234567890 old layout check >1234567890- 103014250# 66666666+ --> new layout check (notice the '-' check number terminator)...
Submitted by
Benny
-
7 years ago
2017-01-27 13:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Trim leading zeroes in numbers 012.210 => 12.21
PCRE (PHP <7.3)
Trim leading zeroes 012.210 => 12.21 .002300 => .0023
Submitted by
FAy
-
7 years ago
2017-02-01 05:54
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Lockbox Sätze #2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-02-01 09:59
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
find field names
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-02-07 12:09
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
content
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-02-10 14:17
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
images
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-02-10 14:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
descr
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-02-10 15:17
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
My regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-02-10 23:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Asadasdsd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-02-11 09:22
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
show inventory Partial)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-02-11 21:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
show inv (not for complex)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-02-11 21:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
byline
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-02-12 19:18
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Splunk - Masking data (SIM Card Example)
PCRE (PHP <7.3)
Splunk - Masking Data Uses defensive logic to account for data changes & supports Splunk Schema on Fly!
Submitted by
Tony Nesavich
-
7 years ago
2017-02-13 00:15
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find Days. Simple format
PCRE (PHP <7.3)
Given a string, finds the days spoken about within the string. (US Implementation)
Submitted by
anonymous
-
7 years ago
2017-02-15 04:44
1
...
81
82
83
84
85
86
87
...
481
CPF Number Repetition
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
(
\d
){3}
\.
?
\1
{3}
\.
?
\1
{3}
-
?
\1
{2}
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
TheRockSaysOP
-
10 months ago
2023-02-18 17:28
(Last modified 10 months ago)
2023-02-18 17:40