How can I use regex in notepad++ to make a query like this: I have a list with subdomains containing three words such as
web1.com
test.web2.com
I want to filter so that only three words remain and something like this comes out:
web1.com
test.web2.com
test.web3.com
I was able to delete so that only the domain remains, but this is not what I want
^(?:.+\.)?([^.\r\n]+\.[^.\r\n]+)$
