常用正则表达式

1、提取字符串中的数字

num = s.replace(/[^0-9]/ig,"");
原文地址:https://www.cnblogs.com/qdlhj/p/10643877.html