I have a line, for example, "[{XYZ123}] This is a test" and I need to parse the contents between [{and}] and drop it to another line. I suppose that to achieve this you need a regular expression, but since it is not for the faint of heart, I did not try and did not need your help.
What is the best way to output a fragment between [{and}]? Thanks in advance for your help!
source
share