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)
Date01
PCRE (PHP <7.3)
ตัดวันเดือนปี ไทย/อังกฤษ
Submitted by
anonymous
-
5 years ago
2019-02-15 08:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Date02
PCRE (PHP <7.3)
ตัดวันเดือนปี อังกฤษ
Submitted by
anonymous
-
5 years ago
2019-02-15 08:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Date03
PCRE (PHP <7.3)
ตัดวันเดือนปี แบบตัวเลข
Submitted by
playwhyyza
-
5 years ago
2019-02-15 08:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Date02
PCRE (PHP <7.3)
ตัดวันเดือนปี อังกฤษ
Submitted by
anonymous
-
5 years ago
2019-02-15 08:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Date03
PCRE (PHP <7.3)
ตัดวันเดือนปี แบบตัวเลข
Submitted by
playwhyyza
-
5 years ago
2019-02-15 09:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Formula All Operands
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-15 13:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Formula Parse Operand
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-15 13:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Subdomains
Python
no description available
Submitted by
anonymous
-
5 years ago
2019-02-15 15:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Covers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-15 18:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex head style scss
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-16 02:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Domain name validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-16 05:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Remove forward/reply prefixes (F:, Fw:, Fwd:, Re:, R:) from an email subject
ECMAScript (JavaScript)
C# Code Sample: var subject = "RE: RE:Fw: RE:FW: FWD: re: This is a message from a long thread re: asdf "; var pattern = @"((?:[\t ](?:R|RE|F|FW|FWD):[\t ]))(.)"; var regex = new Regex(pattern, RegexOptions.ECMAScript | RegexOptions.IgnoreCase); var match = regex.Match(subject); var extr...
Submitted by
safeer
-
5 years ago
2019-02-17 06:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Coolstuff datos
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-18 00:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
coolstuff expas
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-18 00:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex 1
PCRE (PHP <7.3)
https://www.autoitscript.com/forum/topic/105350-truncate-large-string/
Submitted by
anonymous
-
5 years ago
2019-02-18 12:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
File name and extension from url
PCRE (PHP <7.3)
File name and extension from url
Submitted by
anonymous
-
5 years ago
2019-02-18 13:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
last / lastest / recent
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-18 13:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matching Numeric Ranges with a Regular Expression 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-18 18:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matching Numeric Ranges with a Regular Expression 1 Searching with word boundaries
PCRE (PHP <7.3)
https://www.regular-expressions.info/numericranges.html
Submitted by
anonymous
-
5 years ago
2019-02-18 18:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
mc coord extract
Python
no description available
Submitted by
anonymous
-
5 years ago
2019-02-18 19:27
1
...
726
727
728
729
730
731
732
...
871
manish kumar
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(
\r\n
|
\n
|
\r
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
manish kumar
-
8 years ago
2015-10-30 19:35