18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Regular expressions not working

mdowesmdowes Members
edited November 2014 in Sahi Pro
Dear Sahi Team member,

I am facing an issue while using the below regular expression
_exists(_cell("/^Settings copied from/gi"))

The text is dynamic which may be like the one shown here "Settings copied from vm-win7-653.root.unnamed at 11:44:23 am 28-Oct-14". Anything after the from text in the previous sentence is dynamic.

I googled it out and also researched on Sahi forums, but nothing helped till now.


Can you help me in writing a proper regex code to select the cell which has the text specified.

Answers

  • just try like _exists(_cell("/Settings copied from/")) , let me know the result
  • just try like _exists(_cell("/Settings copied from/")) , let me know the result
Sign In or Register to comment.