I need to strip numbers from certain fields. I have the following but it strips all number from the entire table.
Some of these fields have blanks and nulls.
import arcpy
arcpy.env.overwriteOutput = True
table = "C:/temp/EMS_Table"
field = ['Agency', 'fa', 'lz']
for field in [f.name for f in arcpy.Describe(table).fields if f.type == "String"]:
exp = "!{0}!.strip('0123456789.- ')"
arcpy.management.CalculateField(table, field, exp.format(field), "PYTHON")<SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>