Hi, @@luuk-v, @terry-r and All,
@Terry-r said :
Personally though my alternate regex works I would use @guy038 one as it is more readable and possibly also more defined!
In the same way, I would say that @terry-r’s solution is clever too and is, finally, very easy to interpret ;-))
Indeed, this new syntax :[^:]*?$ finds a colon char, followed with the shortest range of characters, possibly null, different from a colon, before an end of line !
Cheers,
guy038