Regex expression in Java Selenium -


system.out.println("<chassismoduleoptionrequest partner_item='"'(.*)'"'>");   **expected output:**    <chassismoduleoptionrequest partner_item="(.*)"> 

the above regex not working, can please me here.

thanks,

satish d

to escape " should use \", not '"'

system.out.println("<chassismoduleoptionrequest partner_item=\"(.*)\">"); 

Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Python Tornado package error when running server -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -