I am looking for a function that acts like the preg_match in PHP that performs a regular expression match.
For example, if I have a string in MQL4 that contains the following HTML code
<td id="pair_name_0" class="first left bold noWrap">Fibonacci<td id="open_0">1.2532</td><td id="high_0">1.2535</td><td id="low_0">1.2538</td><td class="bold" id="low_0">1.2541</td><td id="low_0">1.2544</td>
I want the function to search the string for the values between the tags <td id="open_0"> and </td>, <td id="high_0"> and </td>, <td id="low_0"> and </td> ... etc... and saves them in a new string or int.
I think you'd have to do it with a combination of StringSplit, StingFind, StringSubstr etc. There's probably a bunch of string scripts in the codebase, have you had a search through there?
You can import any regular expression library written in C into your EA. There are many available.