Change type of regEx.