I am wondering if we can do the following with notepad++. I have an exhaustive list of all countries in the word, this is small part of it:
Afghanistan : '',
Albania : '',
Algeria : '',
American Samoa : '',
Andorra : '',
Angola : '',
Anguilla : '',
Antigua and Barbuda : '',
I need to inject each of those countries between the single quotes, like this:
Afghanistan : 'Afghanistan',
Albania : 'Albania',
Algeria : 'Algeria',
American Samoa : 'American Samoa',
Andorra : 'Andorra',
Angola : 'Angola',
Anguilla : 'Anguilla',
Antigua and Barbuda : 'Antigua and Barbuda',
Is there anyway where we can parse each line and inject the each country as indicated above using some kind or regular expression?