Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(\`{3}[\w|\W]+?\`{3})
/
gm
Input 1
1
New
``` block code word1 word2 ``` word without grave accent and it is will match it too ``` another block code word1 word2 - it's will match it as part of the first block code ``` """ some text after the grave accent text word1 word2 """`
Extraction