Select to view content in your preferred language

Remove parentheses from data using field calculator.

4750
11
01-16-2018 06:32 AM
TerryMergl
Emerging Contributor

Good morning.

I am not real savvy with field calculator.  We have a couple fields that contain service address information.  Someone opted to add additional information enclosed by parentheses in this field.  I need to remove the parentheses and data within.  Any advice or suggestions appreciated.

Thanks

Terry

0 Kudos
11 Replies
RobertScheitlin__GISP
MVP Emeritus

Dan,

  Actually James's regex gets all the string(s) between the ()s. RegEx is very powerful for stuff like this.

0 Kudos
DanPatterson_Retired
MVP Emeritus

yes, I used to use them, but they changed in python 3.x so I just lost track of what applied to where