then replace ' '(two spaces) with ' '(one)
(,
Sun 20 Apr 2008, 5:52,
archived)
unless of course you want to be able to have double spaces elsewhere, then you're fucked
(,
Sun 20 Apr 2008, 5:54,
archived)
I need to be able to leave the text pretty much untouched, because that will matter to the people entering it. But I can't allow single periods in the middle of lines of text, it's too risky in terms of form security in the context it will be used.
(,
Sun 20 Apr 2008, 5:58,
archived)
Tried posting multiple spaces here?
(,
Sun 20 Apr 2008, 6:00,
archived)
So ... would become . . .
Also, I don't want to run replace twice on the string when I can (hopefully) write a regex that will do the job in one pass. I know it's possible, I just haven't been able to get it right.
(,
Sun 20 Apr 2008, 5:55,
archived)
Also, I don't want to run replace twice on the string when I can (hopefully) write a regex that will do the job in one pass. I know it's possible, I just haven't been able to get it right.