I am trying to check my string having 123.12/23
with pattern \\d+(.\\d+)*\\/\\d+(.\\d+)*
but it is not working, it is passing 123.12/23/24
also.
I need below scenarios to be covered :
Strings to be passed : 12/23 , 12.23/23 , 12/23.33
Strings to be failed : 12/13/14 , 12.23/2/4