HTTP - REGEX 2nd occurence

Hello,

I am trying to get the value of the second match of my regex
Number VU_Dauer “Dauer [%s]” ( VUPLUS ) { http="<[http://192.168.1.6:80/web/getcurrent:3000:REGEX(.?(.?).*)]" }

https://regex101.com/r/4yLQbw/1

With the given example, which works very well, I get always the first value.

Has I tried already several days to get the second value (2nd occurence) of the read data.

Has anyone an ide what I can use?

You do not show the String you are trying to match so it is hard to say. Assuming you are trying to match against the XML in the given URL, why not use XPATH?

xpath(//e2currentserviceinformation/e2eventlist/e2event[2]/e2eventduration)

Hi Rich,

thank you so much. I should have know earlier the XPATH transformation :slight_smile:
Now I am able to read all necessary values for my project!