Modify URL link of datasource in grafana dashboard

I want to modify the url which we are getting from the datasource(Prometheus) to specific format.For example my URL is showing "[] in my dashboard so i want to modify it to “example1” to show in my dashboard,Is there any way to do it.Like we can see in the attached pic ,I need to remove https from the url.