<?xml version="1.0" encoding="utf-8"?>

<snippet name = "没有数字" description = "验证给定的字符串不包含数字。" preview="code" type="block">

<insertText location="beforeSelection">

<![CDATA[function onlyNumbers(inputString)

{

  var searchForNumbers = /\D+\_+\W+\s+\S+/

  return searchForNumbers.test(inputString);

} ]]>

</insertText>

<insertText location="afterSelection"><![CDATA[]]>

</insertText>

</snippet>

