如何使用bash从URL中提取域名?喜欢:http://example.com/到example.com必须适用于任何tld,而不仅仅是.com
regex url bash
bash ×1
regex ×1
url ×1