On 2024-06-30 14:21, Greg Wooledge wrote:
On Sun, Jun 30, 2024 at 12:32:15 +0100, mick.crane wrote:got it thanks. <span class="verse" id="V[0-7]{1,2}"> <sup> <sup> <sup> <span class="verse" id="V19"> <span class="verse" id="V129"> <span class="verse" id="V138">I don't know what you're trying to do, but ERE [0-7]{1,2} matches one- or two-digit *octal* numbers (e.g. 5, 07, 72, 77) but not numbers that contains the digits 8 or 9. Do you have a book whose verses are enumerated in octal?
Looked at the original question, having first misunderstood it I said could be done with search and replace in an editor then realised I wasn't sure how to do what was asked. So now I know you can use regular expressions in Geany and a bit more about the format.
Previous post could have been clearer but I was trying to be brief.