Added a regex solution valid dialog in Exercise view.