Need a bit more clarification about this regular expression

I don’t understand this regular expression fully?

/(?=\w*\d{2})/

This is from the Positive and Negative Lookahead task.

Hello there,

Here is an excellent tool for regex: https://regex101.com/

It will tell you what each component does. If you are still struggling with anything specific, I am sure we can elaborate.

Hope this helps

2 Likes

This is great! thank you so much