troubleshooting Question

How to enter Regex code

Avatar of Horalia Rodriguez
Horalia RodriguezFlag for United States of America asked on
Regular Expressions
5 Comments1 Solution101 ViewsLast Modified:
What is the code in regex to ensure user enters a minimum of 6 digits and a maximum of 6 digits? I currently have

\d{6,6}

But I don't get the error message indicating that I have entered more than 6 digits.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros