Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-05-08 00:29
Flavor·ECMAScript (JavaScript)

/
((`){1,3}|(\*){1,3}|(~){2}|(\|){2}|^(>){1,3}|(_){1,2})+
/
gm
Open regex in editor

Description

it checkes for discord markdown

examples includes:

italic bold underline strikethrough

block quotes code blocks

and any other combinations of those

Submitted by padero