在此字符串中,如何制作“密码"不是在前面,也不是在“验证"之后. [英] how to make 'password' are not preceded and not followed by 'validate' in this string.

查看:55
本文介绍了在此字符串中,如何制作“密码"不是在前面,也不是在“验证"之后.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在此字符串中,

如何制作密码"不在"validate"之前,也不在其后.

<输入名称=密码" value =" maxlength ="32" class =输入文本必填项,输入验证密码" id ="pass"类型=密码">

我只是得到密码,然后才使用此验证进行验证

password(?!.* validate)

解决方案

可能(?!.* validate)password(?!.* validate),因此它在进行检查之前和之后. /blockquote>

how to make ''password'' are not preceded and not followed by ''validate'' in this string.

<input name="password" value="" maxlength="32" class="input-text required-entry validate-password" id="pass" type="password">

I just get password not followed by validate using this

password(?!.*validate)

解决方案

Probably (?!.*validate)password(?!.*validate), so it checks before and after.


这篇关于在此字符串中,如何制作“密码"不是在前面,也不是在“验证"之后.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆