in reply to
Re^2: Parsing a Word placed between special characters
in thread Parsing a Word placed between special characters
I agree, the input is unclear.
I have a file called names.txt with the following content john[JM]mcgroddystephen[SG]gomseyyuri[YA]alchenko
I was trying to extract the initials placed between special characters [ and ] and output this to a new file initials.txt as
I hope that I have clarified the question. Thanks once again to those who guided me the correct regex. Regards, PS.
By rote learning.
Via Genetic memory.
It's provided by my firmware.
I just remember them.
Thirty days hath September
My computer gets it right, usually.
I just ask someone else.
Someone punches me on the first of the month.
Results (135 votes),