Php regular replaces html tag style

want to replace

in Quan Lian good real estate Wang Yongping, director of commercial real estate research of the Chamber of Commerce, there are many commercial facilities and great pressure of competition, so it is necessary to use commerce as the engine and" commerce + "to build a complex. "past shopping < span style=" color: rgb (0,17680); "> < span style=" color: rgb (0,17680); "> Center is all pure commerce, which now needs to be constantly superimposed on the basis of commerce, such as business + medical care, business + culture, business + tourism, and so on. Too simple business format has been unable to adapt to changes in consumer demand, commercial real estate from the past re-development to re-operation, heavy content. " Wang Yongping said.

< span style= "color: rgb (0,176,80);" > (. *? ) , due to the emergence of multi-layer nesting, I want a regular expression to remove the multi-layer < span style= "color: rgb (0,176,80);" > and , but keep the value in the middle of
. This is my way of writing, but it doesn"t work at all.

  preg_replace("/<span[\s\S]*?style=\"color: rgb(0, 176, 80);\">(.*?)<\/span>/si","\$1",$obj->info);

strip_tags learn about

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e45fea-44b6d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e45fea-44b6d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?