<p class="sougouContent"> 比如:afsdffsdf9.20sdfsfsdf99sdfsdf14575dfsf <br> <br> 我要截取9.20,99,14575 <br> <br> 网上的很多都是把数字提取出来变成9209914575。 <br> <br> </p> <br> <h2>回复讨论(解决方案)</h2> <p class="sougouAnswer"> <div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="sycode" name="code">$s = 'afsdffsdf9.20sdfsfsdf99sdfsdf14575dfsf';preg_match_all('/[\d.]+/', $s, $r);echo join(',', $r[0]);</pre><div class="contentsignin">로그인 후 복사</div></div>9.20,99,14575 <br> </p> <p class="sougouAnswer"> 谢谢哈,xuzuning大大真是大好人 </p>