I have over 5000 lines like so:
www.example.com/de/germany/germany-company-domaincheck
www.example.com/de/germany/germany-company-question
www.example.com/de/germany/index
www.example.com/de/germany-page
www.example.com/de/france/france-company-domaincheck
www.example.com/de/france/france-company-question
www.example.com/de/france/index
www.example.com/de/france/france-page
I need to replace:
www.example.com/de/germany/germany-company-domaincheck
www.example.com/de/france/france-company-domaincheck
etc
With
www.example.com/de/enquiry
Unfortunately I am useless at regular expressions and don't know where to start. Using sublime text what is the correct regular expression to find all occurrences of /?/?-company-domaincheck
/?/?-company-domaincheckwith regular expressions would take you a few hours of reading introduction level how-tos at most. So this question is basically telling us that you don't want to do that. That's ... not a good starting point, really.