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 12,720 community submitted regex patterns...
0
myRegEx
.NET 7.0 (C#)
myRegEx
Submitted by
Avinash
-
a year ago
0
Validate Date Represented by Integer 1900 - 2099
PCRE (PHP <7.3)
Very simple validation expression that will validate a date in the range of 19000101 through 20991231. These formats are very popular for partitioning and representing dates as Long values or Integers. This does not check for Leap year values, or the months with varying number of days. Please Note:...
Submitted by
Edward Rush
-
a year ago
0
Detect start of words to then convert string to camelCase, kebab-case, snake_case, etc.
ECMAScript (JavaScript)
You can use this to match the first character in each word. Use a function to then iterate over the matches to transform into the various cases.
Submitted by
Matt Scheurich
-
a year ago
0
Sanitize percentage input into bare real number
.NET 7.0 (C#)
Turn "123,456 %" into just "123.456"! Mainly for use in C# to parse percentage as string into double. Strip away whitespace Replace comma with decimal point Only allow valid numeric input multiple commas or decimal points won't match...
Submitted by
Moravuscz
-
a year ago
0
Currency
ECMAScript (JavaScript)
Currency
Submitted by
jerryd
-
a year ago
0
Semantic Version (semver)
.NET 7.0 (C#)
.NET version of the Python regex found on https://semver.org/
Submitted by
semver.org,Jeff Jacobson
-
a year ago
0
remove any salutation like mr. mrs Dr. etc from the beginning of the name
ECMAScript (JavaScript)
remove any salutation like mr. mrs Dr. etc from the beginning of the name
Submitted by
prax
-
a year ago
0
amazIng regex
PCRE (PHP <7.3)
super
Submitted by
anonymous
-
a year ago
0
CSV Parsing one by one value including \n
ECMAScript (JavaScript)
CSV Parsing one by one value including \n
Submitted by
Dirk Holtwick
-
a year ago
0
匹配句子,第一个单词首字母大写,结尾匹配句号、问好、感叹号。
ECMAScript (JavaScript)
[A-Z]+[\.?!]
Submitted by
anonymous
-
a year ago
0
sql inj
ECMAScript (JavaScript)
as
Submitted by
anonymous
-
a year ago
0
inefficient int/float(exponent)
PCRE (PHP <7.3)
match a single number
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
BI/CC
.NET 7.0 (C#)
Verificação do número de BI/CC
Submitted by
anonymous
-
a year ago
0
Importing Confluence Application Logs to Amazon Athena
PCRE (PHP <7.3)
Though in Athena you would need two backslash instead of one as listed above in Regex. expression in Athena. "input.regex" = '^(.?) (.?) (.?) \\[(.?)\\] \\[(.*?)\\] (.+)$'
Submitted by
Chirag Parikh
-
a year ago
0
Bad Markdown Links matcher
ECMAScript (JavaScript)
// Expecting this is a string, will try to replace md links // in wrong format: // [link nowhere] or [link] // to just link nowhere or link
Submitted by
diegoaguilar
-
a year ago
0
Matches filenames in urls
ECMAScript (JavaScript)
Filenames in urls
Submitted by
anonymous
-
a year ago
0
Email address validator - ASCII standard
.NET 7.0 (C#)
Checks whether the string is a valid email address per ASCII.
Submitted by
rotors6472
-
a year ago
0
Match filenames in URLS (updated)
ECMAScript (JavaScript)
Match filenames in URLS (updated)
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Тестовая строка
ECMAScript (JavaScript)
Здесь можно тренироваться с регулярками
Submitted by
anonymous
-
a year ago
0
MoltenObsidian Internal Link
.NET 7.0 (C#)
Provides parsing w/ named variables for MoltenObsidian-flavoured Markdown wikilinks. (https://github.com/Nodsoft/MoltenObsidian)
Submitted by
Sakura Akeno Isayeki
-
a year ago
(Last modified 9 months ago)
1
...
624
625
626
627
628
...
636
Quote Macthing with escape
25
Regular Expression
ECMAScript (JavaScript)
/
(
[
"'
]
)
(
(?:
(?=
(?:
\\
)*
)
\\
.
|
.
)*
?
)
\1
/
gm
Open regex in editor
Description
Matches text within quotes (", ') and escapes the charecters.
Submitted by
Vihan Bhargava
-
9 years ago