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

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -