I have a string
String customHtml = "<html><body><iframe src=https://zarabol.rediff.com/widget/end-of-cold-war-salman-hugs-abhishek-bachchan?search=true&header=true id=rediff_zarabol_widget name=rediff_zarabol_widget scrolling=auto transparency= frameborder=0 height=500 width=100%></iframe></body></html>";
I need to replace the last index of weburl with another string. In the above example replace
end-of-cold-war-salman-hugs-abhishek-bachchan
with
srk-confesses-found-gauri-to-be-physically-attractive
I tried using Lazy /begin.*?end/
but it fails.
Any help will be highly appreciated.
Thanks in advance.