Code:
s/\[\d+:\d+\]$//;