At some point, I'll take the time to learn $regex. I figured there was a simple way to do it with $regex. smile