I didn't say it had no purpose or that it wasn't better. Just that I figured just about anything done with $regsub could be done without it as well (even if it took somewhat longer... as long as it wasn't that much longer). If that's not true, then that's fine.