"Shaun Thornburgh" <shaunthornburgh@xxxxxxxxxxx> wrote in message news:BAY148-w43CAAC3698E0134DFACC28ABDD0@xxxxxxxxxx Hi, I need to delete a file with any file extension where i know the name of the file, is it possible to use regular expressions with the unlink function? Thanks _________________________________________________________________ http://clk.atdmt.com/UKM/go/197222280/direct/01/ We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now Hi, use glob() and then unlink with array_walk() Br Tanel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php