Im trying to scrap some web page which contain a proxy list and have manage to scrap the proxies and ports but im stuck on replacing the table border between proxy and port which is to replace with ":" here's my regex code
(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})(?:\s+|\s*<\/td><td>\s*)(\d{2,5})
and here is the scraped page in html
<tr><td>35.199.100.7</td><td>8080</td><td>US</td><td class='hm'>United States</td><td>elite proxy</td><td class='hm'>no</td><td class='hx'>yes</td><td class='hm'>1 second ago</td></tr><tr><td>163.172.181.29</td><td>80</td><td>FR</td><td class='hm'>France</td><td>elite proxy</td><td class='hm'>no</td><td class='hx'>no</td><td class='hm'>1 second ago</td></tr><tr><td>178.213.144.238</td><td>41258</td><td>RU</td><td class='hm'>Russian Federation</td><td>elite proxy</td><td class='hm'>no</td><td class='hx'>yes</td><td class='hm'>1 second ago</td></tr><tr><td>142.93.79.212</td><td>3128</td><td>CA</td><td class='hm'>Canada</td><td>anonymous</td><td class='hm'>no</td><td class='hx'>no</td><td class='hm'>1 second ago</td></tr><tr>
here my test page https://www.phpliveregex.com/p/oPW Can somebody help me thank you