I have a string in an XML which I am trying to retrun to a varable (below).
<XMLElement><![CDATA[TEXT - I - FIND - INTERESTING]]></XMLElement>
My problem is that I have no knowledge of regex and I am finding it difficult to understand how to convert my special characters into a "string" which is not interpreted as a regex charater.
The text between the square brackets can be any length and any charachter; this is what I would like to save to my variable e.g. "TEXT - I - FIND - INTERESTING".
I am also wondering if this is actually the best approach to this problem.
Any support would be greatly appreciated.