Add custom regex settings

Add logic to test user-defined regular expressions and pass to ImageMagic.
Merge pull request #52 from tdhsmith/custom-regex

Add user-defined regex option