Vanguard Interview Question

What does a regular expression do?