I have the following regex: /\*\*[A-z0-9]+\*\*/g It's supposed to match words with double * around them, like so: **this whole sentence should match**
However it's not matching the spaces. So **this is a word** (this would not be matched), however **word** would be matched (without spaces).
Should match:
**this sentence is bold****this should also match****should**