I have a file.txt which contains lines as:
address1:= ("a010")
address2:= ("b005")
address3:= ("b030")
address4:= ("b008")
address5:= ("a002")
address6:= ("b004")
I need to match only the number followed by "b" as well as its line as:
2: 005
3: 030
4: 008
6: 004
Anybody can help me to do that using python?