in reply to match and edit block of text

js1

Is there any importance to you that the version numbers (2.0.48 vs 2.0.54) change in your example?

If not, you have splendid answers already. If there is something important to you (clearly, not to the functionality), then you may wish to do, as a second pass, another pass with a match_and_capture on "2.0.48" AFTER a "#", and a substitution or assignment, to effect the second change.