In Javascript what would be the regex for a tab followed by a space (EXACTLY THAT).
I know it's something like:
var c = dataString.replace(/\t\s/g,'<br />');
But this is finding tabs or spaces globally, not a tab followed by a space as an exact match.
Thanks ahead of time!
It would be /\t /
\s
also matches other whitespace characters, so you need a literal space character.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With