The following python expression can trim street addresses for labeling in ArcMap. I need to convert the expression to Arcade so I can retain the same labeling scheme when pushing my feature layer online.

def FindLabel ( [PropertyAd] ):
  import re
  output = re.sub("[^0-9 ]", "", [PropertyAd] )
  return output
  return [PropertyAd] 
  • What does your attempt at an Arcade expression to do this look like? – PolyGeo Oct 15 '19 at 12:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.