I have to extract password from the email through regex as the xpath of the password location is dynamic.
Below is the xpath of the password location :
//*[@id=':k6']/div[1]/div/div[3]/div[3]/table/tbody/tr[3]/td
Sample password at this location :
QFYFV3WL$8H!
Here id is dynamic so 1st challenge is to generate regex for id.
Secondly we need to generate regex to extract the password from password field.
Each character of the password is dynamic and may contain any character.
Any help is appreciated here.