xpath = ".//*[@id='ctl00_ctl00_MainContent_ChildContent1_dgDataList_ctl06_btnEdit']";
here 106 is varying every time , how to use regular expression in xpath
xpath = ".//*[matches (@id, 'ctl00_ctl00_MainContent_ChildContent1_dgDataList_ctd+_btnEdit']";
1.4m articles
1.4m replys
5 comments
57.0k users