Jump to content

Notepad++

From YawgNetWiki

Some Tips and Tricks for Notepad++

Searching

[edit]
[edit]

Regex

[edit]

Samples

[edit]

Find all HTML Tags

    <[^>]+>

Find all IPv4 Addressess

   \d+\.\d+\.\d+\.\d+

Find Time and Date (Example below: 01/01/2021 12:00 AM)

   \d+\/\d+\/\d+\s\d+:\d+\s[AP]M

Work Specific

[edit]

URL/IPs from Analyze Hosts

[edit]

URL Selection

   URL:\s[A-Za-z\.\-]+[^<]

Newline after IP (Find and replace with "\1\n")

   (\d+\.\d+\.\d+\.\d+)

Remove data before URL (Find and replace with "\1")

   .*(URL:\s[A-Za-z\.\-]+[^<])

Remove junk (Find and replace with "\1 \3")

   (URL:\s[A-Za-z\.\-]+[^<])(.*)(\d+\.\d+\.\d+\.\d+)

References

[edit]