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 4,540 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SC Log Line Explanation
Python
Matches elements of a log entry from SC.
Submitted by
G.E. Hatt Jr
-
2 years ago
2021-08-13 02:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Laravel scheduler call method
PCRE2 (PHP >=7.3)
Validate and get parameters for Laravel scheduler
Submitted by
Mauricio Alexander Flórez
-
2 years ago
2021-08-13 09:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
yaml file names with alternatives
Python
matches any file with *.yml or *.yaml
Submitted by
anonymous
-
2 years ago
2021-08-14 15:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find PHP short open tags
PCRE2 (PHP >=7.3)
Find PHP short open tags
Submitted by
anonymous
-
2 years ago
2021-08-16 15:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Shoes - Servers Related to an Application
PCRE2 (PHP >=7.3)
Paste in the ... portion of the Application page and this expression should extract the list of servers for you.
Submitted by
Cory
-
2 years ago
2021-08-16 15:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex to verify a java method
Java 8
Verifies java methods
Submitted by
Marco Galindo
-
2 years ago
2021-08-16 17:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Add missing ClassVar type annotations to arbitrarily nested Python class attributes with existing annotations.
Python
Assuming class variables are defined in SCREAMING_SNAKE_CASE, this regex searches for class attributes which do not yet have a ClassVar annotation from the typing module. This can be useful for adding missing class variables by replacing the group named 'annotation' with ClassVar[${annotation}]. I.e...
Submitted by
jrbergen
-
2 years ago
2021-08-17 04:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Bangladeshi Phone Number Regex
PCRE2 (PHP >=7.3)
Bangladeshi Phone Number Regex
Submitted by
Siam
-
2 years ago
2021-08-18 03:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Non-"ness" remover
Python
Remove all words that don't end in "ness" from a dictionary.
Submitted by
anonymous
-
2 years ago
2021-08-18 23:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
移除非法字符
Java 8
冲鸭!
Submitted by
anonymous
-
2 years ago
2021-08-19 13:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ip:port check
PCRE2 (PHP >=7.3)
ip:port check
Submitted by
anonymous
-
2 years ago
2021-08-19 14:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
sabre parse
PCRE2 (PHP >=7.3)
simple sabre line parser
Submitted by
aleks777
-
2 years ago
2021-08-19 20:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PDFtron Android Native Labels
PCRE2 (PHP >=7.3)
Extract translations from F* XMLs
Submitted by
Julian Somoza
-
2 years ago
2021-08-20 15:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find coordinates
Python
Find coordinates
Submitted by
jjvillavicencio
-
2 years ago
2021-08-20 18:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Phone number
PCRE2 (PHP >=7.3)
Phone number
Submitted by
nipo
-
2 years ago
2021-08-22 05:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
123
Java 8
123
Submitted by
anonymous
-
2 years ago
2021-08-22 14:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Lab 6 es 1
PCRE2 (PHP >=7.3)
Accept regex in the form OutputType ServiceName ( InputType1 , InputType2 , . . . )
Submitted by
anonymous
-
2 years ago
2021-08-23 10:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Lab 6 es 1.1
PCRE2 (PHP >=7.3)
return an int
Submitted by
anonymous
-
2 years ago
2021-08-23 10:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Lab 6 es 1.2
PCRE2 (PHP >=7.3)
Accept long as first input argument
Submitted by
anonymous
-
2 years ago
2021-08-23 10:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Lab 6 es 1.3
PCRE2 (PHP >=7.3)
return a double, are named sum, and accept an arbitrary amount of doubles as input
Submitted by
anonymous
-
2 years ago
2021-08-23 10:08
1
...
97
98
99
100
101
102
103
...
227
Well Defined Branch Names
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Python
r"
^
master
$
|
^
main
$
|
^
release
.
*
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
2 years ago
2021-10-31 22:10