Refactor regexp for easier customization. Fixes #8 and resolves #3.
Update readme to reflect changes to regular expression.