Tweaking search regex. Adding error handling on user choice.