Adjust regular expressions for Filemetadata resource. CAF-203

Can somebody check if the regular expressions I am using are ok?