I have in a txt file a line similar:
...
AAAAA a12312312 BBBBBB
....

I need to get only this part: a12312312

in effect i need to get value between to other string part, how to?

note:

the postion in string of AAAAA and BBBBBB is variable