I need help with some regex operation in php.
I have string e.g.
$string = 'This article is about something. If You want more
<a href='http://www.google.com'>click here</a>. If not just close
I want to get result like this:
$string = 'This article is about something. If You want more click here -
http://google.com. If not just close
How can I do it in php? I cannot use simple html parser and other libraries
Help please, I have no idea how to achieve this