Detect Symbols with a regex instead of specific strings.