I have multiple lists (in a .txt file) which I'd like to quickly convert to an array. I've seen this question asked and answered here for Notepad++, but not for Xcode. Is it possible to similarly here?
AliceBlue
AntiqueWhite
Aqua
Aquamarine
Azure
Beige
Bisque
Black
BlanchedAlmond
and convert it to an array literal...
var myArray = ["AliceBlue", "AntiqueWhite", ... ]
//the highest rated answer for this on the notepad++ thread: Add quotation at the start and end of each line in Notepad++

I should add I can use the expression (.+) in the find function, but not the "\1".





Looks like it's not possible to use Regular Expressions to replace in Xcode. I ended up using Atom text editor to get this done, and the following expressions:
Find:
Replace: