Evening all,
I'm after a bit of help with python regular expressions.
I want to search a file for an IP address, then put a # at the start of the next two lines. Being able to do the reverse would be good too (but I'm sure I could figure that out if I had the first bit).
Thanks
I'm after a bit of help with python regular expressions.
I want to search a file for an IP address, then put a # at the start of the next two lines. Being able to do the reverse would be good too (but I'm sure I could figure that out if I had the first bit).
Thanks