assuming you are using python below will work
Log.message(re.sub("\D", "", "Motor - Ad 1112223445 name name"))
MYCAPTION.match(/\d{10}/)[0]
extracts a 10-digit number from the variable MYCAPTION.
Many Thanks Helen,
You are the Testcomplete Chief !
Subject | Author | Latest Post |
---|---|---|