vin_akleh Posted July 5, 2010 Share Posted July 5, 2010 if this was in variable $x <li id="current"><a href="index.php">Home</a></li> <li><a href="index.php">News</a></li> <li><a href="index.php">Downloads</a></li> <li><a href="index.php">Support</a></li> <li><a href="index.php">About</a></li> <li><a href="index.php">Bookmark</a></li> and i want it to become Home News Downloads Support About Bookmark any one can help Link to comment https://forums.phpfreaks.com/topic/206810-how-to-remove-and-every-thing-in-it/ Share on other sites More sharing options...
phpSensei Posted July 5, 2010 Share Posted July 5, 2010 You can use str_replace for some of that, but regex would be your best bet. Link to comment https://forums.phpfreaks.com/topic/206810-how-to-remove-and-every-thing-in-it/#findComment-1081598 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.