Anyone any ideas how to parse out this value in the simplest way possible. It needs to be quick and lean. Someone said regex but I haven’t used them before. Can they be used to get whats inside the value?
name="org.apache.struts.taglib.html.TOKEN" value="THIS IS WHAT IS NEEDED"
And I will explain it as well. First we seek for the word
valuewith a"after it. Then(?<value>specifies a named group with the name “value”..*?\"means match everything up to the first “. Then we grab the value of the group in the second line.You could start by reading the MSDN docs of the Regex class.