D meta characters can match non - numeric characters, equivalent to "[^0-9]".

syntax structure: (1):

new RegExp. Constructor ("\D")

(2). The amount of direct object:


browser support: (1).IE browser support this method.

(2). Firefox browsers support this method.

(3). Google browsers support this method. The

(4).Opera browser supports this method. The

(5).Safria browser supports this method.

example code:

 var str= "I love antzone n and and 360"; "Yu" ("" "", "" ""); "(" (")"); the above code can match all characters except numbers. 

 var str= "I love antzone n and you 360"; VAR VaR; "(") "; the function of the code is the same as the above code. 

summarized above is small to give D regular expression metacharacters introduce (equivalent to "[^0-9]"), I hope to help you, if you have any questions please give me a message, Xiao Bian will reply you timely. Thank you for your support for the home website of the script!

This paper fixed link:http://www.script-home.com/regular-expression-d-meta-characters-equivalent-to-0-9.html | Script Home | +Copy Link

Article reprint please specify:Regular expression D meta characters (equivalent to “[^0-9]”) | Script Home

You may also be interested in these articles!