I've a file with the following text:
<RecordID>02.037.D00221700080.0</RecordID>
2.35
AB
<RecordID>02.037.D00221700080.1</RecordID>
2.45
BB
<RecordID>02.037.D00221700080.2</RecordID>
6.5
CC
I wish to remove the dots, between <RecordID>
and </RecordID>
to get this:
<RecordID>02037D002217000800</RecordID>
2.35
AB
<RecordID>02037D002217000801</RecordID>
2.45
BB
<RecordID>02037D002217000802</RecordID>
6.5
CC
I've tried different approaches with sed, all of them without results... Thanks in advance!
question from:https://stackoverflow.com/questions/65943112/how-to-use-sed-to-remove-dots-between-2-patterns