i want to match a very simple number-bar-number pattern : 1/2
My regex is: ([0-9]{1}\/[0-9]{1})
The problem is that I match things I want to exclude. I need exact matching excluding the rest.
My regex return as valid patterns as :
1/12344
2/23ABC
2/233423/2425
[update]
tested with some txt files using GREP, still having issues. By instance:
2/3/16 (it's a date and it matches the pattern, so grep returned the entire line)
I'm not very versed on regex so any help would be very much appreciated
Regards