日期:2014-05-17 浏览次数:20524 次
<input type="text" id="txt2" /> <input type="button" id="but2" value="检索" />
$("#but2").click(function(){ var txt = $("#txt2").val(); var reg = /(?<=txg)aa/; var bo = reg.Match(txt); alert(bo); });