var a="##55##data1!!##66##data4545!!##77##data44!!";
how to remove ##664545##data!! from the string
Edit:if we know the start value in a string i.e,##66## and the end value ie,!!
In the main string how to remove characters starting from the start pattern,data after the start pattern till the end pattern
My expected output will be ##55##data1!##77##data44!!