Hi my requirement is like this
Required text format
- maximum allowed number should be 20 for left side from the + mark
- right side maximum number should be 99
- should allow only two characters each side
Other allowed formats
We tried followings
Problem with first approach is cannot limit left side to 20 and it allows more than 2 characters each side.
Problem with the second approach is it does not allow 1+1 or 0+0.
Appreciate some support to modify the regex to cater our requirement.