I want to remove everything after /blog/ in the url, here is the input:
http://domain-name.com/blog/a-blog-title
output should be:
http://domain-name.com/blog/
My regexp is \/blog\/.*, but this could remove the /blog/ as well. Obviously I don't want this. Is there a specific way to delete the characters and neglect the matching part? Thanks in advance.