I am trying to remove "/1" from the end of every entry in a certain field. I know I can just strip it off, but I would like to solve it with regex for my own edification. Here is my code so far. It runs without error but has no effect on the data.
with arcpy.da.UpdateCursor("Table", "parcel_ID") as rows:
... for row in rows:
... goodtext=re.sub(r'/1', '', badtext)
Anyone know what I am doing wrong? Thanks.