如何用正则表达式校验字符串是否小于978的正整数?解决问题立即给分,要求给出详细解释,谢谢
lci21 2003-01-19 09:39:34 <form name=form1>
<table>
<tr id=pass>
<td>请输入小于978的正整数:</td>
<td><input type="text" name="num"/></td>
<input type=button value="是否是符合条件的整数" onclick="checknum()">
</tr>
</table>
</form>
<script language=javascript>
....
</script>
问:这个函数用正则表达式怎么写?另外情给出对这个正则表达式的详细解释,谢谢