Hi jpadie,
Thanks for your reply.
In your post above, you have a red open and close bracket either end of the regex - are these to be removed?
And, the [0] - Is this also to be removed?
I replaced my function with the function you supplied and received an error:
"Parse error: syntax error...