Improved regex to find only documents ending in .doc or .docx