this post was submitted on 13 Jul 2023
1 points (100.0% liked)

Lemmy App Development

788 readers
1 users here now

A place for Lemmy builders to chat about building apps, clients, tools and bots for the Lemmy platform.

On-Topic:

Off-Topic:

founded 2 years ago
MODERATORS
1
Regex for lemmy spoilers (programming.dev)
submitted 2 years ago* (last edited 2 years ago) by starman@programming.dev to c/lemmydev@lemm.ee
 

Through trial and errors, I've created regex for lemmy spoilers:

/:::\sspoiler\s+(?<title>.+)\n(?<body>[\s\S]+?)\n:::/g

link to regex101.com with explanation

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here