Impressive! And indeed, the regex shortens the code immensely - definitly worth it.