I have one csv file name in my Google cloud storage bucket and the name of the file is like 'select_tb22322_c' this. Now I need to create a variable in python 'MAIL' and in this variable I need to extract only 22322 from the above .csv file name. That means in MAIL variable I will have only 22322. What would be the python or Bigquery code here ? Kindly response.
I tried with some python code but its not working. Need a solution with python code.