Build up these regex strings from parts - it makes the regex easier to read. For example: mmm + '\s+' + day + '\s+' + timestamp.