Hello, I am using regex to check some links on my code and basically I I want to know whether they have certain words in those urls.
The way I am checking this is below:
apparently matches tries to match for the whole newurl to google. I tested it by changing the newurl = "google" and it returned me true. so can someone address me what I am doing wrong here?
thanks a lot.
The way I am checking this is below:
apparently matches tries to match for the whole newurl to google. I tested it by changing the newurl = "google" and it returned me true. so can someone address me what I am doing wrong here?
thanks a lot.