Hello Everyone,
I want to check if the IBAN data starts with an Alphanumeric value.
I tried the System.Text.RegularExpressions.Regex.IsMatch(“in_IBAN”,“[0-2]”) method but did not get a positive result.
Thank you for your help
Hello Everyone,
I want to check if the IBAN data starts with an Alphanumeric value.
I tried the System.Text.RegularExpressions.Regex.IsMatch(“in_IBAN”,“[0-2]”) method but did not get a positive result.
Thank you for your help
Mark solved if it solves your problem:
System.Text.RegularExpressions.Regex.IsMatch(IBAN1,“[1]”)
0-9 ↩︎
@MrKezay - Are you looking something like this?
You can see first two lines are selected whereas the third did not match the criteria…
^[A-z0-9]{2}
This is exactly the solution I want. I’m sorry I couldn’t express myself correctly.
Thank you very much. @prasath17
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.