Extracting names from given list of URLs (using regex)

let us extract name form the URL
paste the URL in the notepad and press crtl+f , and select ‘regular expressions ‘ from search mode

find in notepad

now, enter the regex in the find tab to fetch names
1
.*?\?=(\w+)$

Now, the selected name will be fetched form regex as (\1).

it can work on numerous links like:-

And only the part after first “?=” will be fetched


Posted

in

, ,

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *