incorporated into my code, less lines now :D
thanks for the tip!
In reply to Re^2: Parsing/regex question by vxp in thread Parsing/regex question by vxp