Home  >  Article  >  Backend Development  >  请教如何从字符串中截取数字

请教如何从字符串中截取数字

WBOY
WBOYOriginal
2016-06-13 12:41:19770browse

请问怎么从字符串中截取数字
比如:afsdffsdf9.20sdfsfsdf99sdfsdf14575dfsf

我要截取9.20,99,14575

网上的很多都是把数字提取出来变成9209914575。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn