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 11,660 community submitted regex patterns...
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
qwqwe
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-11 04:15
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-11 04:06
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
File name without extension from linux path
PCRE (PHP <7.3)
If given a linux file path match the filename without the extension. It extracts FileNameWithoutExtension into its own match group so that you can use it in things like Logstash Grok.
Submitted by
Chris Magnuson, by combining other peoples starting points
-
8 years ago
2015-09-11 01:54
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
java
PCRE (PHP <7.3)
09-10-2015_17:12:59.536_PDT] [ERROR] - [FxG5vfvSFN] [family.gibson@att.net@slid.dum] [] [common] [AbstractServiceLayerBridge] - Service Exception while invoking [ServiceLayer API]: UsageService.getFiberUsageDetails with [TransactionId]: COLDAPP_WS_380920115_144187749927000022_p9mbm20_0 java.lang.ref...
Submitted by
anonymous
-
8 years ago
2015-09-11 00:16
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Cookie Value Finder By name
PCRE (PHP <7.3)
When using javascript to get a cookie value by its name, Get the cookie string by document.cookie Use this pattern to get the proper value. Just replace the cookie name in my pattern. Use 1st or 2nd group(this is only used when your cookie name is last in the string)
Submitted by
khpatel4991
-
8 years ago
2015-09-10 19:48
1
4 upvotes, 3 downvotes (score 25%) (You must be signed in to vote)
Google Plus user profile url pattern
PCRE (PHP <7.3)
Pattern that check your string to match Google Plus user profile URL.
Submitted by
JSC Quatrodev
-
8 years ago
2015-09-10 17:01
2
4 upvotes, 2 downvotes (score 30%) (You must be signed in to vote)
Twitter user profile url pattern
PCRE (PHP <7.3)
Pattern that check your string to match Twitter user profile URL.
Submitted by
JSC Quatrodev
-
8 years ago
2015-09-10 17:00
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
Facebook profile URL pattern
PCRE (PHP <7.3)
Pattern that check your string to match Facebook user profile URL.
Submitted by
JSC Quatrodev
-
8 years ago
2015-09-10 16:54
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
TimeRegex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-10 15:57
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Phone number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-10 12:12
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Password regex
PCRE (PHP <7.3)
Password pattern looking for strength. Between 8 and 16 characters. At least: 1 UpperCase. 1 LowerCase. 1 SpecialCase. 1 Number
Submitted by
morethansimplycode.blogspot.com.es
-
8 years ago
2015-09-10 11:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Email Id Validity Checker
PCRE (PHP <7.3)
Checks whether given text is valid Email Id,check for top level domains which are 2-3 in length,does not accept numbers for top level domains
Submitted by
Debanjan Das
-
8 years ago
2015-09-10 09:20
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ip (CIDR) check
PCRE (PHP <7.3)
from 0.0.0.0 to 255.255.255.255
Submitted by
Marcel Bayer
-
8 years ago
2015-09-10 08:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
turkish translations
PCRE (PHP <7.3)
regex to allow unicode chars & digits in config values
Submitted by
scopevale
-
8 years ago
2015-09-10 07:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Validate Semantic version numbering
PCRE (PHP <7.3)
This validates version numbers that adhear to the Semantic protocol e.g. in form of xx.xx.xx or 1.2.2
Submitted by
Al
-
8 years ago
2015-09-10 00:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
TLD Scratch tapes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-09 21:57
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
body tag extract
PCRE (PHP <7.3)
no description available
Submitted by
Girish
-
8 years ago
2015-09-09 01:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SAS Boundaries version 3
PCRE (PHP <7.3)
Basic sas boundaries, %macro proc %include etc
Submitted by
Leo Lopes
-
8 years ago
2015-09-08 19:48
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
Select or locate the last underscore (or dot, etc) in a string
PCRE (PHP <7.3)
This string can help you locate/select the last underscore in a string
Submitted by
Hao
-
8 years ago
2015-09-08 19:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
URL parser RegEx
PCRE (PHP <7.3)
Parse full URL and find parts
Submitted by
Dakr Coder
-
8 years ago
2015-09-08 19:11
1
...
517
518
519
520
521
522
523
...
583
Regex subtitle Add
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(?<hour>
\d
+
)
:
(?<minute>
\d
+
)
:
(?<second>
\d
+
)
,
(?<msecond>
\d
+
)
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
V.S.
-
8 years ago
2015-08-19 19:38