Hot to remove text from variable? (php)
Posted
by Glister
on Stack Overflow
See other posts from Stack Overflow
or by Glister
Published on 2010-04-07T08:20:29Z
Indexed on
2010/04/07
8:23 UTC
Read the original article
Hit count: 225
I have a variable $link_item
, it's used with echo
and gives the strings like
<span class="name">Google</span>http://google.com
How to remove "<span class="name">Google</span>
" from string?
It should give just "http://google.com".
Heard it can be done with regex()
, please help.
© Stack Overflow or respective owner