Feb 6, 2001, 12:27 AM
Post #2 of 3
You want to be using (.*), instead of (.)*.
And there's NO reason to test for a regex before doing a substitution. It slows the program down needlessly.
Jeff "japhy" Pinyan -- accomplished hacker, teacher, lecturer, and author