Hi,
I’m trying to find all instances of an IP Address or 6 digits in a text file using regex without success,
I have tried the below small code, the file 123.txt contain IP Addresses and several instances of 6 digits such as 123456,
BTW: You know you’re looking for IP addresses separated by word boundaries anywhere on the line but the six digit numbers should be the only thing on their lines, don’t you?
And BTW #2:
When you post code, sample data, console output or error messages please format it as code using the preformatted text button ( </> ). Simply place your cursor on an empty line, click the button and paste your code.