Use regex for matching content type