JSFiddle - React, Tailwind, and code Playground

by jakelauer

JavaScript

new RegExp("\s\[quote\\]((?:(?!\\[quote\\])[^](?!\\[quote\\]))*?)\\[\\/quote\\]", "gi")