This question already has answers here:
Reference - What does this regex mean?
(1 answer)
Check whether a string matches a regex in JS
(13 answers)
Closed 6 years ago.
I inherited a project and have no idea what this does:
/\d/.test(password)
Any ideas?
It checks that the password contains a digit (0-9).
Related
This question already has answers here:
Regex - some matches are missing
(1 answer)
Regex skips some matches by consuming from the input string
(2 answers)
Closed 7 months ago.
Why this regex doesn't catch all integers between operator signs?
(^|[-+*\/\^])(\d+)([-+*\/\^]|$)
https://regex101.com/r/UeepIz/1
This question already has answers here:
Reference - What does this regex mean?
(1 answer)
Negating specific characters in regex
(4 answers)
Closed 5 years ago.
Just wondering what does [^a-z0-9] mean in regex?
I looked around this site and only find [a-z0-9], so what does the ^ symbol mean?
This question already has answers here:
Regex match entire words only
(7 answers)
What is a word boundary in regex?
(13 answers)
Closed 5 years ago.
I know this might be a repeated question, but I want to know how to match a word (for example apple) that is not followed by any letters. So, banana-apple-a will pass but banana-applea will not.
This question already has answers here:
Regular Expression to match valid dates
(16 answers)
How do I match an entire string with a regex?
(8 answers)
Closed 6 years ago.
I want to validate MM/YYYY in VB6
I used (0[1-9]|1[012])/(19|20)[0-9]{2}
But it is not working as expected. Even it allows 5 digit year.
This question already has answers here:
Regex match entire words only
(7 answers)
Closed 6 years ago.
How can I get a match when numbers are 5 or 7 digits long with these parameters?
If I understand your question correctly, this (visualize here) should do it:
`/\b([5-9]\d{4}(?:\d{2})?)\b/`