Regex for lemmy spoilers
Regex for lemmy spoilers
Through trial and errors, I've created regex for lemmy spoilers:
/:::\sspoiler\s+(?<title>.+)\n(?<body>[\s\S]+?)\n:::/g
0
comments
Regex for lemmy spoilers
Through trial and errors, I've created regex for lemmy spoilers:
/:::\sspoiler\s+(?<title>.+)\n(?<body>[\s\S]+?)\n:::/g