Grep ETH address from text file

Hi,
Could any one help with the grep syntax?
I need do grep multiple ETH addresses from recoverd txt file.
In this case i need to grep string 42 character long, starting with 0x
and or starting with 0x… nomather what. Need to cat and grep them into output file in lines one by one.
Can anyone help?