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.
我不知道如何在如下字符串中找到一个数字:Picture15.jpg。有没有人有一个关于如何在 PHP 中提取这个数字的正则表达式?
尝试
preg_match("/(\d+)/", "Picture15.jpg", $m); echo $m[1];
tags for class names and keywords in Javadocs?