Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,020 community submitted regex patterns...
0
MAC Address Python
Python
Checking for MAC address matching in python
Submitted by
dhakavikaskumar
-
2 years ago
0
Remove Whitespace
PCRE2 (PHP >=7.3)
no more whitespace
Submitted by
Me
-
2 years ago
0
HTML Link
Python
Get HTML Link
Submitted by
anonymous
-
2 years ago
0
find specific property of angular component
PCRE2 (PHP >=7.3)
This can be used in vscode to search in your repo if a property has been used in your component. name of component: it-grid name of property selectedItems
Submitted by
Salmin
-
2 years ago
(Last modified 2 years ago)
0
BACassetList
PCRE2 (PHP >=7.3)
Find CMS asset entries in HTML "Table"
Submitted by
anonymous
-
2 years ago
0
Support post-livraison
ECMAScript (JavaScript)
Detect support post-livraison
Submitted by
anonymous
-
2 years ago
0
CURDEPTH\([^0].*\)
PCRE2 (PHP >=7.3)
CURDEPTH\(.*\)
Submitted by
anonymous
-
2 years ago
0
Parse getopt options from a Bash script
PCRE (PHP <7.3)
This will parse the parameters/arguments that a Bash script when it uses getopt(s). Groups: name,short,long,while Example cases: ...
Submitted by
Spyingwind
-
2 years ago
0
Name with title
PCRE2 (PHP >=7.3)
Name with title
Submitted by
anonymous
-
2 years ago
0
My Regex Expression
Python
I'm a new learner and I try to learn in coding & data analyst in web. And also need some financial support as well. I thank to you all when I get chance to learn from you all.
Submitted by
anonymous
-
2 years ago
0
Mysite
PCRE (PHP <7.3)
Hello
Submitted by
anonymous
-
2 years ago
0
VTT and SRT parser
ECMAScript (JavaScript)
(?:^|(? ([0-2]\d:[0-5]\d:[0-5]\d[.,]\d{3})(.*?)((?:\d+\n)?(?=[0-2]\d:[0-5]\d:[0-5]\d[.,]\d{3})|$)
Submitted by
anonymous
-
2 years ago
0
OmegaT
Java 8
regular expressions used in OmegaT
Submitted by
anonymous
-
2 years ago
0
Different date format and label them accordingly
ECMAScript (JavaScript)
Classify \d\d \/ \d\d \/ \d{4} \w* \d\d, \d{4} \d{4}-\d\d-\d\d and label them
Submitted by
anonymous
-
2 years ago
0
Strict URL validation
PCRE2 (PHP >=7.3)
(?!.[.]{2})((https?|http)\:\/\/)?([a-z0-9+!(),;?&=\$.-]+(\:[a-z0-9+!(),;?&=\$.-]+)?@)?([a-z0-9-.-.]?(?!.\/).)\.([a-z]{2,1000})(\:[0-9]{2,5})?(\/([a-z0-9+\$-]\.?)+)\/?(\?a-z+&\$.-)?(#a-z_.-)?
Submitted by
Adwin Raj GP
-
2 years ago
0
cuda with gpu-number regex
Python
Used for torch.device handling, so 'cuda' and 'cuda:0' both valid and can be used
Submitted by
Ilya Lubenets
-
2 years ago
(Last modified 2 years ago)
0
match csrf token
PCRE2 (PHP >=7.3)
Matches the csrf token in the meta data
Submitted by
anonymous
-
2 years ago
0
Discord Invite link - Updated
PCRE2 (PHP >=7.3)
Can match 7 variations of invites (the page discord.com/servers/ is included)
Submitted by
Diso
-
2 years ago
0
Regex Colon Code For Emoji
PCRE (PHP <7.3)
Groups the ID, and finds the whole colon code
Submitted by
ZackiBoiz
-
2 years ago
(Last modified 2 years ago)
0
Anime Xdcc Name + Episode Regex
Golang
Parse XDCC filename strings for a name and episode. Appears to work for most major bots but unreliable for any data other than name and episode number/version
Submitted by
anonymous
-
2 years ago
1
...
871
872
873
874
875
...
901
Community Library Entry
2
Regular Expression
PCRE (PHP <7.3)
/
[
0
-
9
\s
]
/
g
Open regex in editor
Description
Get numbers and spaces from string.
Submitted by
Emmanuel Tabares
-
9 years ago