Regular Expressions in Javascript with a comprehensible interface.