http://www.perlmonks.org?node_id=11132896


in reply to Re: Need a regular expression to check the first digit -- YAPE::Regex::Explain
in thread Need a regular expression to check the first digit

Thanks everyone for your responses, i have resolved the issue with below regex.

/^[5](?=\d)
  • Comment on Re^2: Need a regular expression to check the first digit -- YAPE::Regex::Explain
  • Download Code