My Text in UI is "Resend in 48 sec" in which "48" is a timer which is dynamic so I want to crate an Xpath using the contains and Inside Contains I am using Regex but still unable to find the Element
//*[contains(@content-desc,"Resend in .*?[0-9a-zA-Z]*[0-9][0-9a-zA-Z].* sec")]