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
Community Patterns
Search among 3,500 community submitted regex patterns...
0
Youtube Video Id
.NET 7.0 (C#)
Matches the video Id in Youtube URL.
Submitted by
CW
-
10 months ago
0
fcc-title-case-a-sentence
ECMAScript (JavaScript)
a regex to find first letter of each word
Submitted by
anonymous
-
10 months ago
0
IPv4-CIDR
ECMAScript (JavaScript)
Match IPv4-CIDR (JavaScript)
Submitted by
fwqaaq
-
10 months ago
0
Redis command parser
ECMAScript (JavaScript)
Modified source from https://stackoverflow.com/a/64833638/1454045
Submitted by
Nathaniel Schweinberg
-
10 months ago
0
CSS @import statement
ECMAScript (JavaScript)
Matches CSS @import statements with media and layer support
Submitted by
anonymous
-
10 months ago
0
URL Validation
.NET 7.0 (C#)
Can be used to validate on URL's.
Submitted by
anonymous
-
10 months ago
0
匹配任何小数,小数点后不保留0
ECMAScript (JavaScript)
匹配任何小数,小数点后不保留0
Submitted by
anonymous
-
10 months ago
0
Markdown JSON codeblock match
ECMAScript (JavaScript)
Useful to extract JSON from LLM markdown responses
Submitted by
Lamer217
-
9 months ago
(Last modified 9 months ago)
0
Options symbol parse
ECMAScript (JavaScript)
parse option symbol
Submitted by
anonymous
-
9 months ago
0
Remove JSON value quotes
ECMAScript (JavaScript)
Removes quotes from value of JSON string
Submitted by
anonymous
-
9 months ago
0
parse data URL
ECMAScript (JavaScript)
Parse Data URL like: data:image/png;base64,__iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==__
Submitted by
Alan S. Ferreira
-
9 months 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
-
9 months ago
0
JavaScript camelCase
ECMAScript (JavaScript)
including digits and sequential uppercase letters
Submitted by
anonymous
-
9 months ago
0
JavaScript kebab-case
ECMAScript (JavaScript)
including digits and double dashes
Submitted by
anonymous
-
9 months ago
0
Latin Character ranges
ECMAScript (JavaScript)
Latin Character ranges
Submitted by
anonymous
-
9 months ago
0
Find last word and space of string
ECMAScript (JavaScript)
Foo Bar
Submitted by
anonymous
-
9 months ago
(Last modified 9 months ago)
0
Camel-Case Splitter (preserves Acronyms)
.NET 7.0 (C#)
Splits camel-case string and preserves acronyms
Submitted by
Tyler S.
-
9 months ago
0
Валидность телефона Российской Федерации форматов "+7", "7", "8"
ECMAScript (JavaScript)
Работает с форматами +7, 7, 8 Варианты валидации любые.
Submitted by
anonymous
-
9 months ago
0
Bangladeshi phone numbers
ECMAScript (JavaScript)
Matches all Bangladeshi SIM numbers
Submitted by
Mushfiq Talha
-
9 months ago
(Last modified 9 months ago)
0
Add quotes to a malformed JSON string
ECMAScript (JavaScript)
This Regex allows to add double-quotes to a JSON string that is missing them. It assumes we have a space after the ":" and also after the ",".
Submitted by
anonymous
-
9 months ago
1
...
172
173
174
175
Typescript - /// <reference path="..."/> Expression
4
Regular Expression
ECMAScript (JavaScript)
/
(
\/\/\/
)
\s
+
(
<
|
>
)
(
.
*
)
(
<
|
>
)
/
g
Open regex in editor
Description
Finds Typescript's reference path syntax.
Submitted by
Lovelidge, Shawn
-
9 years ago