Improve regex for service url