Add quotes around keys
Table of Contents
1. Introduction
Let us say you have keys like this.
ABC XYZ AB ABCD
The goal is to have these keys surrounded by double quotes " and a comma ,.
"ABC", "XYZ", "AB", "ABCD"
There are multiple ways of doing this.
2. Using Notepad++
- Open your text file in Notepad++.
- Press Ctrl + H to open the Find and Replace dialog.
- Check "Match case" and tick the box "Match whole word only" (optional).
- Check Search Mode: "Regular expression" at the bottom.
- Use these fields:
- Find what:
^(.*)$ - Replace with:
"\1", - Click Replace All.