I also thought about matching a pattern, but was afraid that the pattern might match also some special chars.
Will play a bit with the regular expressions to see what I can come up with.