Added Extension Methods code to work with Regexs on Exception messages

Added Extension Methods code to work with Regexs on Exception messagesAdded some code to work with Regexs on Exception messages