I'm trying to create a HTML5 pattern for input text with and IP address and mask together, like this:
10.120.15.30/28 or 172.181.30.0/24
I found one html5 pattern at http://html5pattern.com/Miscs but is only for IPv4 without mask
((^|\.)((25[0-5])|(2[0-4]\d)|(1\d\d)|([1-9]?\d))){4}$
I tried add before
(\/).((([0-2])|(0-9))|(3[1-2]))
but is not working. Any ideas?