Hello UE community. I've used UE for well over ten years editing MacroQuest macros for use with an MMORG called EverQuest and absolutely love UE. I even created my own UE wordfile years ago for the MacroQuest community. Anyway, this is the first time I have ever posted because I am trying to create a find/replace routine that is a bit out of my knowledge. So, I'm asking in the forums for a little help.
I need to create an UltraEdit cleanup routine that will take a list of domains and remove the sub domains and the @ from the list. In my research, I think I could accomplish using Find/Replace functionality with Perl regular expressions, which I have used in the past, but this problem is a bit beyond my ability.
Below is an example of the starting data and the ending data I wish to end up with. Could anyone give me a hand with this?
Starting data
Ending data
I need to create an UltraEdit cleanup routine that will take a list of domains and remove the sub domains and the @ from the list. In my research, I think I could accomplish using Find/Replace functionality with Perl regular expressions, which I have used in the past, but this problem is a bit beyond my ability.
Below is an example of the starting data and the ending data I wish to end up with. Could anyone give me a hand with this?
Starting data
Code: Select all
@aaa.bbb.ccc.ddd.com
@aaa.bbb.ccc.net
@aaa.bbb.ru
@aaa.info
Code: Select all
ddd.com
ccc.net
bbb.ru
aaa.info