url check allows for multiple patterns