PHP头条
热点:

晕了,求个正则表达式php的,.


晕了 ,求个正则表达式 php的, 在线等....
本帖最后由 cluonani 于 2013-05-21 15:15:17 编辑 html是这样的






Enter your gift message here






Enter your gift message here2



想些个正则表达式,得到结果大约是这样的.死活写不出.功夫不到家..
求大神,取得单选框匹配checked的值和下面textarea的值,最后想要的的大约是这样的

[1] => Array
        (
            [0] => BTN_GROUP_59679208328481
            [1] => BTN_GROUP_59679208328482
            [2] => TEXTAREA_59679208328481
            [3] => TEXTAREA_59679208328482
        )

    [2] => Array
        (
            [0] => 22334875:SHIP_TO_HOME:3
            [1] => 22334876:SHIP_TO_HOME:2
            [2] => Enter your gift message here
            [3] => Enter your gift message here2
        )

就用is,不用isu
可以实现吗 分享到:
------解决方案--------------------
$pattern='/]*?)>(.*?)]*?)>(.*?)]*?)>(.*?)]*?)>([^<]*?)<\/textarea>/sm';

www.phpzy.comtrue/phprm/6866.htmlTechArticle晕了,求个正则表达式php的,. 晕了 ,求个正则表达式 php的, 在线等.... 本帖最后由 cluonani 于 2013-05-21 15:15:17 编辑 html是这样的 Enteryourgiftmessagehere Enteryourgiftmessagehere2 想些个正则表达式,得到...

相关文章

相关频道:

PHP之友评论

今天推荐