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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -