开发者

regular exp not working in IE [closed]

开发者 https://www.devze.com 2023-02-22 23:42 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, vi开发者_如何学运维sit the help center. Closed 10 years ago.
questionText.replace(/\d+/g,""); 

is not working in IE ?


Are you assigning the resulting string to anything?

var newQuestionText = questionText.replace(/\d+/g,""); 
alert(newQuestionText);
0

精彩评论

暂无评论...
验证码 换一张
取 消