How do I remove text from an image?

I want to remove "the worst of times" from this image. How do I do that? I don't have a preference to how it's done.

• Like this? i.stack.imgur.com/ZzSwm.png – Rahul Oct 23 '16 at 6:09
• Welcome to Mathematica.SE! 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Take the tour and check the faqs! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! – user9660 Oct 23 '16 at 7:49
• Do you want it done specifically with text recognition? – Feyre Oct 23 '16 at 8:53
• Please add more specifics. – Yves Klett Oct 23 '16 at 9:50
• closely related How to automatically remove text from images? – Sumit Oct 23 '16 at 13:36

Maybe something like this:

img = Import["https://i.stack.imgur.com/0Jl54.png"]

text = TextRecognize @ img

del = {"the worst", "of times"};

Rasterize[#, RasterSize -> 1000, ImageSize -> ImageDimensions @ img]& @
Style[#, FontFamily -> "Times"]& @
StringReplace[
text, {del[[1]] -> StringPadRight["", StringLength @ del[[1]]],
del[[2]] -> StringPadRight["", StringLength @ del[[2]]]}]