将 qwer://xxx/545/0 替换为 qwer://trading_system_xxx/0/545
$str = '<a href="qwer://xxx/545/0">xxx</a>'; $str = preg_replace('/qwer:\/\/xxx\/(\d+)\/(\d+)/i' ,'qwer://trading_system_xxx/$2/$1/',$str);
posted on 2016-10-19 18:11 多多明明 阅读(118) 评论(0) 编辑 收藏 举报