Im new to regex programming and been toying with RegExr for some time and im stuck with a problem.
I would need to do a regex replace to remove
"/search?q=related:" and "/+test&tbo=1"
and just get wwwdotspeedtestdotcom as result.
Taking into factor that "/search?q=related:" and "/+test&tbo=1" are constants, and i got a list of urls i need to extract, what regex expressions should i be using to remove these 2 constant?
Im only able to extract it out via (www.)+?[a-zA-Z0-9_,:]+(.com/)?(.net)? but its not the kind of expression i wanted.
Any help would be deeply and greatly appreciated!