how to use RegEx flutter
everything for anything 
https://github.com/suragch/string_validator/blob/master/lib/src/validator.darthow to use RegEx flutter
everything for anything 
https://github.com/suragch/string_validator/blob/master/lib/src/validator.dartflutter regex validation
You could make the first part optional matching either a + or 0 followed by a 9. Then match 10 digits:
^(?:[+0]9)?[0-9]{10}$
^ Start of string
(?:[+0]9)? Optionally match a + or 0 followed by 9
[0-9]{10} Match 10 digits
$ End of string
Regex demoCopyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us
