I have a text file containing data inside the {[]} tags. What would be the proposed way to analyze this data so that I can just use the data inside the tags?
An example text file will look like this:
'this is a bunch of text that is not {[really]} useful in any {[path]}. I need {[get]} some elements {[from]} it. ''
I would like to get "really", "path", "get", "from" in the list. I think I could use split to do this .. but it looks like there might be a better way out. I saw a ton of parsing libraries, is there one that would be ideal for what I want to do?
chris source
share