xpath = ".//*[@id='ctl00_ctl00_MainContent_ChildContent1_dgDataList_ctl06_btnEdit']";
here 106 is varying every time , how to use regular expression in xpath
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_ct\d+_btnEdit']";