Enhanced reg exp for parsing Word documents