thanks for the hint ;), i was thinkin of using $regex aswell last night but would of still been longer lol.