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,100 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
get server + intermediate pems
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-22 12:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
v1.0
Python
Coge todos los casos válidos, descarta todos los incorrectos.
Submitted by
anonymous
-
4 years ago
2019-11-22 16:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
v2.0
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-22 16:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Выбрать все варианты начинающиеся с '(или' со всей латиницей далее до кириллицы
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-24 08:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
binder news
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-24 15:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Datetime different formats
PCRE (PHP <7.3)
Datetime for a different formats
Submitted by
anonymous
-
4 years ago
2019-11-24 18:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find stuff between brackets
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-25 18:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Encontrar primeiro nome em CSV
PCRE (PHP <7.3)
Encontre o primeiro nome em um arquivo CSV com múltiplas colunas
Submitted by
anonymous
-
4 years ago
2019-11-25 22:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
phone number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-26 09:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
timestamp
Python
no description available
Submitted by
anonymous
-
4 years ago
2019-11-26 09:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
EntityFeld
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-26 21:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
支持split分组匹配
Python
支持split分组匹配
Submitted by
anonymous
-
4 years ago
2019-11-27 03:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
thuê bao 11 số
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-27 03:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
thuê bao 12 số
Python
no description available
Submitted by
anonymous
-
4 years ago
2019-11-27 04:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
File version number
PCRE (PHP <7.3)
Get filename, version number, extension
Submitted by
anonymous
-
4 years ago
2019-11-27 10:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Redirects for stories
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-13 11:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Strip all but a specific substring
PCRE (PHP <7.3)
in this example the substring is Crude Oil
Submitted by
anonymous
-
4 years ago
2019-11-27 17:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Insert into regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-27 18:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
sbl
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-27 20:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
VIP 3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-27 21:39
1
...
786
787
788
789
790
791
792
...
855
Decorators Regex
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
(?<=
{
|
;
)
\s
*
@
(
[
\w
_
\$
]
*
)
\s
*
(
\(
[
\s
'"
\w
_
\$
,#
]
*
\)
)?
\s
*
(
(
public
|
private
|
protected
)?
\s
+
(
[
\w
_
\$
]
*
)
\s
*
!
?
\s
*
:
?
\s
*
\w
*
\s
*
=
?
\s
*
(
[
\w
()
\$
]
*
)
)
(?=
}
|
;
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
a year ago
2022-08-16 22:49
(Last modified a year ago)
2022-08-17 04:50