I would like to use the http binding with the REGEX transform to extract from the following HTML file
the last line (i.e. the most recent file)
<html>
<header></header>
<body>
<h1>Directory Index</h1>
<a href="ipwebcam_videos">..</a>
<br>
<a href="ipwebcam_videos%2Fmodet%2Fmodet_2019-08-18_10-09.mp4">modet_2019-08-18_10-09.mp4</a>
<br>
<a href="ipwebcam_videos%2Fmodet%2Fmodet_2019-08-18_10-22.mp4">modet_2019-08-18_10-22.mp4</a>
<br>
<a href="ipwebcam_videos%2Fmodet%2Fmodet_2019-08-18_10-23.mp4">modet_2019-08-18_10-23.mp4</a>
<br>
<a href="ipwebcam_videos%2Fmodet%2Fmodet_2019-08-18_10-27.mp4">modet_2019-08-18_10-27.mp4</a>
<br>
<a href="ipwebcam_videos%2Fmodet%2Fmodet_2019-08-18_10-35.mp4">modet_2019-08-18_10-35.mp4</a>
<br>
<a href="ipwebcam_videos%2Fmodet%2Fmodet_2019-08-18_11-13.mp4">modet_2019-08-18_11-13.mp4</a>
<br>
</body>
</html>
If I define the following item
String FileList "[%s]" {http="<[http://192.168.1.100:12345/ipwebcam_videos/modet:60000:REGEX(.*?<a .*?>(.*?)</a>.*)]"}
I only obtain ‘…’ , which corresponds to the first match of the REGEX.
Is there a way to obtain the last line, i.e. in this case
‘modet_2019-08-18_11-13.mp4’?
Thank you for your attention,