I have been learning about shell scripting and regular expressions. I want to find a way to extract a specific part from the file name below.
profiles_060315091024_30398-r-00006.avro
I want to extract the number 30398 from the file name.
Thanks