v18 regex help please

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
I would like to re-organize my *.URL files to be stored in %USERPROFILE%\Favorites\ where the folder will be based on the line that starts "URL=" so for the following line

URL=http://www.mozilla.com/en-US/firefox/central/

the file that has this line in it would be stored in %USERPROFILE%\Favorites\Mozilla.com\ then from that I can take care of duplicate files.

I am new to RegEx expressions in TCMD but I see so far I need to use

^URL=$

but not sure how to extract the needed string (mozilla.com) from the line.

All help greatly appreciated!