Variable length parsing box

I have a project where a piece of lab equipment generates a HTML file every time the analysis runs. I’ve used the Instrument Interface module to parse the BatchCode information, however it isn’t a fixed length and I don’t know how to parse a value that has a dynamic number of characters.

The BatchCode I need is located in-between

and characters and always starts in the same spot, is there any way I could use these to limit the parsing box length?

Thanks

Dan

Can you give an example of the string to parse from?

Python can be used to easily parse and HTML file. Can you paste in the HTML file and show what you need from it?