get rid of greedy end to insert finding regexs