I want to extract the variable # of digits between two patterns, eg:
correction: blah blah.... AAM #6,blah blah
blah blah.... AAM #10 , blah blah
blah blah.... AAM #100 , blah blah
output: 6, 10 and 100
I need to extract numbers between "AMA #" and comma