How to remove the port number while using the target file in prometheus.yml?

Hi , am using balckbox exporter with icmp module — i have a target yml file with list of values in the following format ” http://host-90-230.xyz.abc.test.com:9890|host-90-230.xyz.abc.test.com:9890, http://host-90-230.xyz.abc.test.com:9890|host-90-230.xyz.abc.test.com:9890, , http://host-90-230.xyz.abc.test.com:9890|host-90-230.xyz.abc.test.com:9890 etc…. ” i want to remove the port number while using the target file in prometheus.yml . is there any possibleway to strip it in relabel config

    metrics_path: /probe
    file_sd_configs:
      - files:
         - '/etc/prometheus/blackbox/targets/*.yml'
    relabel_configs:
      - source_labels: [__address__]
        target_label: __param_target
      - source_labels: [module]
        target_label: __param_module
      - source_labels: [__param_target]
        target_label: instance
      - target_label: __address__
        replacement: 172.XX.X.XX:9115 #Actual IP of my host```

Something like this should work

- source_labels: [__address__]
  regex: "([^:]+):\d+"
  target: instance```