This question already has an answer here:
Learning Regular Expressions [closed]
(1 answer)
Closed 5 years ago.
examples
65+98912839128319823
65+8192381923819238123
65+123123
65+908
Only numbers with prefix 65+.
You should try ^65+[0-9]*. This should work
Related
This question already has an answer here:
Learning Regular Expressions [closed]
(1 answer)
Closed 5 years ago.
Can someone help for regular expression for the following (only alphanumeric upper and lower case with - after 12 characters) i need to use in in my groovy assertion.
7AYNEHFjEee4-AJiXJP2jg
assert '7AYNEHFjEee4-AJiXJP2jg' =~ /^[a-zA-Z0-9]{12}-[a-zA-Z0-9]{9}$/
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/`
This question already has answers here:
Regex negation?
(3 answers)
Closed 7 years ago.
Regular expression - how to negate ^[A-Z]{4}[0-9]{2}$
see demo here https://regex101.com/r/bO9pH0/2
/^(?![A-Z]{4}[0-9]{2}$).*/gm
This question already has answers here:
Using regular expressions to validate a numeric range
(11 answers)
Closed 7 years ago.
how would i accomplish this using regex?
^[1][0-5]$
Try this.See demo.
https://regex101.com/r/vD0sJ3/7