Jump to content
UBot Underground

Need help to do this regex,have tried it for some hours..


Recommended Posts

Need help here,have tried it almost 3 hours. I want to make a regex that choose a 'password' thats not preceeded and followed by 'validate' based on this string, so it will not choose this string if im using the regex.

 

<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)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...