i have a bunch of files on a ftp server. there named with different naming patterns
heres a couple
2014-06-09_1324_8328924511_16749732.wav
2065787459 by mkane@somecompany.com @ 1_17_36 PM.wav
20140609-093628_9044721215_DSA11909-all.mp3
they all share a 10 digit phone # eg. _8328924511_
I need to extract just the phone # and rename the file just the phone# that was extracted
im stuck because there are all different patterns excluding the 10 digits
any help would be greatly appreciated