I am trying to extract text using a regex command....but I don't want to start from the beginning.
<sections> <id_root>90b40a38-ea32-9c2f-f2b8-9ad32f7b47fe</id_root> <code_code>34084-4</code_code> <code_codeSystem>2.16.840.1.113883.6.1</code_codeSystem> <displayName>ADVERSE REACTIONS SECTION</displayName> <section_title>6 ADVERSE REACTIONS</section_title> <effectiveTime_value>20120213</effectiveTime_value> <excerpt_text><![CDATA[ <ns1:paragraph>Common adverse reactions in clinical trials (=5% and more common than with placebo) include hypoglycemia, headache, nausea, and dizziness (<ns1:linkHtml href="#S6.1">6.1</ns1:linkHtml>).</ns1:paragraph>]]></excerpt_text> <subSections>
This is a snippet of a string. I understand it looks like XML, but I have to treat it like a single string.
I need to use REGEX to find the information from the tag <section_title>
Is there a way to regex (start from pos(look for <section_title>)) then go to the end tag?