Prints "1. 2. a. b"$_ = "1.2.a.b"; s/(?!\d[.,]\d)([^\w\s])(?!\s)/$1 /g; print;
--dda
In reply to Re: Re: Regex to add space after punctuation sign
by dda
in thread Regex to add space after punctuation sign
by dda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |