@Karlson2k solution seems much simpler than to use regexps