I'm doing a Regexp that validates that the chain is a shared resource, for example \192.168.1.1\MiCarpeta\Mi subcarpeta
I have taken part of the IP from the English forum
/\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b/
I've done several experiments but I can not get the result I tried this
/[\.]\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b[/.][a-zA-Z\-0-9\/]/
[\.]
As part of the beginning of the chain
[\.]
One inverted after the IP
[a-zA-Z\-0-9\]
And alphanumeric with "\" included
I am starting in regular expressions, I would like to know them thoroughly.