Got more questions? Find advice on: ASP | SQL | XML | Regular Expressions
in Search
Welcome to WindowsAdvice Sign in | Join | Help

Query on Regex

Last post 06-08-2011, 9:18 AM by Poornima Shankar. 0 replies.
Sort Posts: Previous Next
  •  06-08-2011, 9:18 AM 82688

    Query on Regex

    Hello Guys,

    I am trying to generate a password by passing a regular expression to a 'Generate' method of Xeger.

    Regular Expression :[abcdefghjkmnpqrstxyz]{6\,6}[23456789]{1\,1}[!@#$%^&*+=]{1\,1}

     Now i want to change this regular expression. So that generated password should not contain Consecutive duplicate character.

    For Example: abcadea2@ is allowed. But aabcde2@ is not allowed.

     Please suggest me  if you have any idea.

     Regards
    Poornima Shankar

     

     

View as RSS news feed in XML