Thanks for the WB I was thinking of a regex as well its weird how one looses knowledge of scripting then regains it once a few scripts are written.

Im sure I would of solved this by now imm still confused.