Remove the regexp in the directove