Modash Interview Question

Detecting tags in a string.