What is Nostr?
Nantucket E-Books /
npub19fr…x6r8
2024-12-28 18:23:47

Nantucket E-Books on Nostr: Here's a new code bounty: I'm looking for a REGEX that will match for a string that ...

Here's a new code bounty: I'm looking for a REGEX that will match for a string that has an empty space, " ", on the left side, and the string "—" on the right side.

My objective is to replace all instances of (" " + string + "&mdash;") with (" " + "<span class='mdash'> + string + "&mdash;" + "</span>") in HTML.

I am paying $5.
Author Public Key
npub19fr6dawmu62tg0ys60fkvpsxazeuqjgpje8defamxpspqwpygyss5zx6r8