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
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 3,600 community submitted regex patterns...
0
Latin Character ranges
ECMAScript (JavaScript)
Latin Character ranges
Submitted by
anonymous
-
a year ago
-1
IPv4 Address Match
ECMAScript (JavaScript)
Matches IP addresses
Submitted by
jimbrig
-
a year ago
0
JavaScript kebab-case
ECMAScript (JavaScript)
including digits and double dashes
Submitted by
anonymous
-
a year ago
0
JavaScript camelCase
ECMAScript (JavaScript)
including digits and sequential uppercase letters
Submitted by
anonymous
-
a year ago
-1
Email with (TLD match)
ECMAScript (JavaScript)
Match an email address and the TLD (.com, .net, .org etc) String: test@test.net Matches: test@test.net|.net
Submitted by
Frosty
-
a year ago
(Last modified a year ago)
0
Matches words and groups words in quotes
ECMAScript (JavaScript)
Spilt a string grouping words in quotes. String: First Last "Full Name" Matches: First|Last|"Full Name"
Submitted by
Frosty
-
a year ago
0
parse data URL
ECMAScript (JavaScript)
Parse Data URL like: data:image/png;base64,__iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==__
Submitted by
Alan S. Ferreira
-
a year ago
0
Remove JSON value quotes
ECMAScript (JavaScript)
Removes quotes from value of JSON string
Submitted by
anonymous
-
a year ago
0
Options symbol parse
ECMAScript (JavaScript)
parse option symbol
Submitted by
anonymous
-
a year ago
0
Markdown JSON codeblock match
ECMAScript (JavaScript)
Useful to extract JSON from LLM markdown responses
Submitted by
Lamer217
-
a year ago
(Last modified a year ago)
-1
GitHub issue link
ECMAScript (JavaScript)
todo
Submitted by
sadespresso
-
a year ago
0
匹配任何小数,小数点后不保留0
ECMAScript (JavaScript)
匹配任何小数,小数点后不保留0
Submitted by
anonymous
-
a year ago
0
CSS @import statement
ECMAScript (JavaScript)
Matches CSS @import statements with media and layer support
Submitted by
anonymous
-
a year ago
1
Password validation
ECMAScript (JavaScript)
Password requirements: Contains at least one uppercase letter. Contains at least one lowercase letter. Contains at least one digit. Does not contain any whitespace characters. Has a minimum length of 8 characters.
Submitted by
anonymous
-
a year ago
0
Redis command parser
ECMAScript (JavaScript)
Modified source from https://stackoverflow.com/a/64833638/1454045
Submitted by
Nathaniel Schweinberg
-
a year ago
0
IPv4-CIDR
ECMAScript (JavaScript)
Match IPv4-CIDR (JavaScript)
Submitted by
fwqaaq
-
a year ago
0
fcc-title-case-a-sentence
ECMAScript (JavaScript)
a regex to find first letter of each word
Submitted by
anonymous
-
a year ago
0
Official Emeil validation Regex
ECMAScript (JavaScript)
Regex from the Mail::RFC822::Address: regexp-based address validation Access here
Submitted by
Igor Julliano Aguiar Sotero
-
a year ago
0
Laughter
ECMAScript (JavaScript)
Matches all laughter like: hahahahhhahahahha hahha ahah lol lolollolll...
Submitted by
Prozilla
-
a year ago
0
Egyptian Phone Numbers
ECMAScript (JavaScript)
Validate Egyptian phone numbers ... Read More (Arabic)
Submitted by
Mahmoud Mostafa
-
a year ago
(Last modified a year ago)
1
...
4
5
6
7
8
...
180
Match typescript filenames excluding .d.ts files
1
Regular Expression
ECMAScript (JavaScript)
/
(?<!
\.
d
)
\.
(?<ext>
[
cm
]
?
ts
|
tsx
)
$
/
gm
Open regex in editor
Description
Match typescript filenames excluding .d.ts files
This RegExp matches,
ts
tsx
cts
mts
But exludes typescript declaration file with
.d.ts
extension.
Submitted by
@yumyum-web
-
a year ago