Regular expressions with new line
We are trying to implement a regular expression to find passwords stored in the clear with Network Discover. We are using a regular expression to do so. The regex looks like this:
I won't claim to be a regex guru but I've gotten this to work on files if they have only one password on one line. If I put several test passwords on multiple lines it will not match anything. If I change the regex to read as this:
I end up matching everything on every line of any text.
Any help here would be greatly appreciated.