I already tried with no regex, and current regex was also validated with the "RainRegExp" recommended program to the text file.
Supossed it should return the only string inside the txt file.
For debugging purposes I'm using https://www.google.com as the only line of text
1Try wrote: ↑October 9th, 2022, 7:03 am
I'm trying to parse a txt file that contains only one string (an url).
The posted measures have more issues:
The name of the measure used in the URL option of a child WebParser measure (in this case the [apiReturn] measure) has to be included into brackets. So replace the Url option of this measure with Url=[raw].
A Regex option doesn't exist (you've used it on the [raw] measure). Add the missing p to the end of the option name: RegExp (see below as well).
In the RegExp option what the measure(s) should return have to be included into parenthesis. That's why you have to add such parenthesis around the [\s\S]+ parameter of this option. Something like this: Regexp=(?siU)([\s\S]+).
If you want the measure to return the whole string, add the character representing the beginning and the end of the string. This way for instance: Regexp=(?siU)^([\s\S]+)$.
Additionally there are two other issues as well, which don't prevent the code to work, however should be fixed:
Even if a while ago WebParser was a plugin, in meantime it has been converted to an internal measure. Accordingly the measures should never be used as Plugin measures, but as WebParser measures. So recommend replacing the Measure=Plugin and Plugin=WebParser options of the measures by Measure=WebParser (however nore that for beackward compatibility reasons the Plugin statement still works).
When using a parent - child measure structure for WebParser measures (like you did), the parent measure (in this case [raw]), shouldn't have a StringIndex set. Remove the StringIndex=1 option from this measure.
With these modifications, the working measures should look for example this way: