php – regular expression to get all urls in a string except one url
Question
I have an array of urls
urls = [ 'example.co.uk/nz', 'example.com/us', 'exclude.example.co.uk' ];
now I wanted to do some manipulations with the above 2 urls and want to skip the third. here is my code.
function
0
2 weeks
0 Answers
0 views