Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- console.log(a.replace(/(?:```(\w+)\s((.|\s)+?(?=```))```)/g, "{code:$1}$2{code}"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement