I am using this regex string to find all periods and exclamation and question marks that have white space around them or are not part of decimals:
/\\.(?=\\s|$)|\