I want to validate a string to meet the following conditions:
This is Correct Answer Of this Regex
[O]{1}((?!0+$)[0-9]{1,5})
If you are work with specific Ids. so you must use that
Ex. 1. O0 -- Reject 2. O00 -- Reject 3. O00000 -- Reject 4. O1 -- Success 5. O01 -- success