Useful Test Automation Regex

Yosuva ArulanthuAppium, Ranorex, SeleniumLeave a Comment

To get only number from the string

\d+

To get just amount value

([0-9]+[\\.,0-9]*)

To get first 5 characters from a stringĀ 

^.{5}

To get the text of btw two strings

(?<=Reference is )(.*)(?= and)

Leave a Reply

Your email address will not be published. Required fields are marked *