Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

v18 regex help please

Apr
1,804
17
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!
 

Similar threads

Replies
0
Views
175
Back
Top