开发者

return quotes to html

I'm parsing web-page that contains html tags without quotes. Something like this <FONT COLOR=#FF0000> but I need <FONT COLOR="#FF0000"> How return 开发者_JAVA百科quotes to html?


echo preg_replace('/(?<==)([^\s>]+)/', '"$1"', $handle);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜