OK so it has been awhile since I had to program anything in regular expression. Now I have to validate that the end user enters a valid IP address. I know how to implement the method that returns the regular expression, and I use the preset character code:
\d\d\d[.]\d\d\d[.]\d\d[.]\d\d
However, the last 3 octets MIGHT only be 1 digit...how do you suppose I should compensate for that possibility? Thanks for your help!

