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.

regEx for dynamic ids

nandubijoornandubijoor Members
edited February 2014 in Sahi Pro
Hi Narayan,

Please let me know how to use regular expression for this case:

_click(_f($appName).s_label("1 Department[2]"));

The number in the square braces is dynamic. and also the no before Department changes based on some condition.
I want RegEx for this:- 1 Department[2]

Regards,
Nandeesh B

Answers

Sign In or Register to comment.