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 14,720 community submitted regex patterns...
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
contents of square brackets
PCRE (PHP <7.3)
eg. test[test Inner] returns 'test inner'
Submitted by
anonymous
-
8 years ago
2015-11-05 02:15
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
test
PCRE (PHP <7.3)
this is a test
Submitted by
anonymous
-
8 years ago
2015-11-04 23:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
episode
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-04 21:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Swap key and value in JavaScript object
PCRE (PHP <7.3)
This will allow you to swap key and value in a JavaScript object. So { language: "romanian" } will become { romanian: "language" }
Submitted by
Victor
-
8 years ago
2015-11-04 20:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
-> Total_Business_Units -> TBU000 -> TBU200 -> TBU299 -> TBU201 -> TB
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-04 18:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
URL Segment Matching for rewrites
ECMAScript (JavaScript)
no description available
Submitted by
jim
-
8 years ago
2015-11-04 17:15
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
keyword with colon and value
PCRE (PHP <7.3)
keyword : value
Submitted by
anonymous
-
8 years ago
2015-11-04 16:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
kosta
PCRE (PHP <7.3)
kosta
Submitted by
kosta
-
8 years ago
2015-11-04 13:05
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
AAA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-04 12:59
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
user-agent tester
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-03 22:14
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
extract file name from URL
PCRE (PHP <7.3)
extract file name from URL
Submitted by
m4r35
-
8 years ago
2015-11-03 17:53
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
select div like things
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-03 14:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
\d{4}(0[1-9]|1[0-2])(0[1-9]|[1-2]\d|30|31)T([01]\d|2[0-3])[0-5]\d[0-5]
ECMAScript (JavaScript)
yyyymmddThhmmss
Submitted by
suman
-
8 years ago
2015-11-03 09:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
sourcetype
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-03 07:42
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
To find all the text in a paragraph ignoring numeric and special chare
PCRE (PHP <7.3)
no description available
Submitted by
srinath
-
8 years ago
2015-11-03 05:54
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Numeric input allow commas and decimal point
PCRE (PHP <7.3)
Match numeric input that may or may not include commas and/or decimal point.
Submitted by
anonymous
-
8 years ago
2015-11-03 00:31
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
JS Regex to get full filename from url.
PCRE (PHP <7.3)
JS Regex to get full filename from url even if the filename contains "-".
Submitted by
Vivek Shah
-
8 years ago
2015-11-02 20:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
uri validate with a prefix
ECMAScript (JavaScript)
no description available
Submitted by
Roger Wyss
-
8 years ago
2015-11-02 10:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
at-mention
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-02 03:20
(Last modified 8 years ago)
2015-11-02 05:52
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Keil C ARM MDK Error Parser
PCRE (PHP <7.3)
This regex will work with Keil C ARM MDK if you prefer using Eclipse
Submitted by
Peter Nguyen
-
8 years ago
2015-10-31 17:50
1
...
626
627
628
629
630
631
632
...
736
rsa_root_prompt
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
\s
*
\[
.
*
@
.
*
\]
#
\s
*
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2015-10-12 18:14