If a regex doesn't work for you, I'd recommend not focusing too much on the output. I find that by not focusing, my vision becomes a bit blurry and then I tend not notice stuff like extra spaces or punctuation (thank you Evelyn Wood!).
In reply to Re: Tidying up punctuation in a CGI text area
by derby
in thread Tidying up punctuation in a CGI text area
by Zcity
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |