.... idk regex ;p regex is so complicated.... :( and also...no script is a script without a good ole while loop! :D and what is $r?