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,540 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
9
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-30 16:55
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
8
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-30 16:52
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
6
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-30 16:48
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
10
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-30 16:45
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
9
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-30 16:43
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
7
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-30 16:42
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
5
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-30 16:41
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
4
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-30 16:40
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
IRC protocol arguments parsing
PCRE (PHP <7.3)
select and retrieve information form IRC client to client prefix
Submitted by
Kerosene2000
-
8 years ago
2015-10-30 16:40
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-30 16:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-30 16:28
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
1
PCRE (PHP <7.3)
no description available
Submitted by
в
-
8 years ago
2015-10-30 16:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
1
PCRE (PHP <7.3)
no description available
Submitted by
d
-
8 years ago
2015-10-30 16:22
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-30 16:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
1
PCRE (PHP <7.3)
no description available
Submitted by
Plokhova A.Y.
-
8 years ago
2015-10-30 16:14
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
IRC protocol prefix parsing
PCRE (PHP <7.3)
select each argument and retrieve data
Submitted by
kerosene2000
-
8 years ago
2015-10-30 15:24
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
IRC protocol global parsing
PCRE (PHP <7.3)
prefix (IRC protocol prefix parsing) command parameters (IRC protocol arguments parsing)
Submitted by
kerosene2000
-
8 years ago
2015-10-30 15:09
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Just a Test
PCRE (PHP <7.3)
Just a Test with the regex101 Tool
Submitted by
Manuel
-
8 years ago
2015-10-30 10:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
add syntax
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-30 07:20
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Read PHPDoc as (key => value) like Wordpress plugins
PCRE (PHP <7.3)
[a-zA-Z0-9]+)\\s{1,}(?P.*)/im"; $str = "/\n@author Marian Gabriel\n@route /page/contact\n@name Contact Plugin\n@version 0.1beta\n@company VMG\n@type Page\n/\n\n"; preg_match_all($re, $str, $matches); function getValue($attr, $matches) {...
Submitted by
Marian Gabriel
-
8 years ago
2015-10-29 23:06
1
...
496
497
498
499
500
501
502
...
577
Unix file name from full path
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
.
*
)
\/
(
[^
\/
]
*
)
$
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2015-10-09 18:27