i would like to replace the last occurence of block ({{{GUEST_COUPON_DATE_LIMIT_LINE}}}). I tried to write :
@company_page.html = @company_page.html.reverse.sub(/{{{GUEST_COUPON_DATE_LIMIT_LINE}}}/, '').reverse
but i get error saying wrong number of arguments (given 0, expected 2). Probably I am writing wrong, so how can I fix this code?