Only if you can guarantee it that possible for someone to sneak in an input that already contains those "x" characters.