I would like to have only the numbers out of a string like this: 083310-0002-815/0000.001?
Whats the best possibility?
Solved! Go to Solution.
Hi Johannes,
You can do this using the re.sub function. Ex:
import re
def update(field):
return re.sub('[-/.]', '', field)Hi Johannes,
You can do this using the re.sub function. Ex:
import re
def update(field):
return re.sub('[-/.]', '', field)Great, thanks