cleaned up regular expressions post