Hello team,
please help me where i am getting wrong with my code
it does not pass pass two answers
Here is the code =>
let sampleWord = "astronaut" ;
let pwRegex = /(?=\w{5,})(?=\D*\d{2})/;
let result = pwRegex.test(sampleWord);
here is the link to the challenge: https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/regular-expressions/positive-and-negative-lookahead/