Hi,
Given the following html:
<div id="f52_lblQuestionWording" title="" style="width:auto;height:auto; display: inline; overflow: hidden;" >Home telephone</div>
I want to automatically get the ID of the container div element using the "Home telephone" string, does anyone know how I can do this via a regular expression?
The string to find the ID isn't always the same and the html is dynamically generated, so it may be slightly different from time to time. I'm working on automating UI testing on a company project using Selenium.
Thanks.