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.

Using Regular expression

AkshadaAkshada Members
edited November -1 in Sahi - Open Source
Hi,

I am trying to use a text , "Sample study11-05-2011Not Yet Started"
where the date part changes so i m using regex

boolean flag = (browser.row(12).getText().equalsIgnoreCase("/Sample study.*Not Yet Started/"));
System.out.println(flag);

It returns false even if the value matches regex!!
What should i use?? Where am i going wrong?

Regards
Akshada
Sign In or Register to comment.