Regex Codeschnipsel

Delete all lines containing a certain string. All lines containing the word „locked“ are deleted in the example below:

.*locked.*\r?\n

Search for ip address

(\d{1,3}.){3}\d{1,3}