how do i write a regular expression to validate user input to ensure that the user input contains 1 digit, a space and any number of letters.
dinhunzvi
0
Newbie Poster
Recommended Answers
Jump to PostAlthough it often sounds like a regex is your solution, it's not always the case. Simply counting the required characters/digits is much simpler.
All 3 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
dinhunzvi
0
Newbie Poster
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.