import re


num_data = re.findall("[0-9]","SW214")
print(num_data)

num_str =""

for ns in num_data:
      num_str += ns
print(num_str)



0cb481362381ada6ed1b9ff0a300e577134a2149
<mask token>

<mask token>
print(num_data)
<mask token>
for ns in num_data:
    num_str += ns
print(num_str)

<mask token>
num_data = re.findall('[0-9]', 'SW214')
print(num_data)
num_str = ''
for ns in num_data:
    num_str += ns
print(num_str)

import re
num_data = re.findall('[0-9]', 'SW214')
print(num_data)
num_str = ''
for ns in num_data:
    num_str += ns
print(num_str)

import re


num_data = re.findall("[0-9]","SW214")
print(num_data)

num_str =""

for ns in num_data:
      num_str += ns
print(num_str)


