Anytime I use Regular Expressions, I find myself doing a bit of trial-and-error until I get the right pattern.