I have a string like this
string = '/location/start:2015-06-06/end:2015-06-06'
and I would substitute the start and end paramaters.
Therefore, I would like to delete everything like start:2015-06-06 and end:2015-06-06 by using Regexp.
But I do not know how.
/beforestartandend?