Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对这个号码有问题 000000000480000.00
如何删除 000000000
变成 480000.00
我需要 php 和 preg-replace 函数。请帮忙
谢谢之前
尝试
preg_replace('(^0+)', '' , '000000000480000.00');