Hi i am laoding a 3rd party xml file but its broken it has no root eliment and has no encoding at the start the xml file looks like the demo below
<channel>
<name>redbull ( amazing red bull plane )</name>
<url>youtube.com/redbull<url>
</channel>
<channel>
<name>redbull1 ( amazing red bull boat )</name>
<url>youtube.com/redbull1<url>
</channel>
How do i go about removing the () and all the text within it ?
i dont know regex but have been told this is the best way todo it if i dont want to take apart the html using dom
also how would i go once removed the brackets and text echoing out every name and url like belw
name:url
name:url
thanks a lot :)