标签: php regex preg-match-all
我试图在下面的HTML代码中捕获整数的值
<span class="ratingCount">1,602</span>
这里我想将值1,602存储为变量中的整数(假设为$ number)。有人可以帮帮我吗?