<?php
     $str = "2081180100100000072";
     
     $str = preg_replace('/(\d{4})(?=\d)/', '$1 ', $str);
     echo "<br>";
     echo $str;
     
?>

 

posted on 2014-01-27 14:11  FreeSpider  阅读(1083)  评论(0编辑  收藏  举报