AnsweredAssumed Answered

Remove all characters before a certain character with Python using Field Calculator

Question asked by brianmcleer on Nov 29, 2017
Latest reply on Nov 29, 2017 by dkwiens

I have a series of strings that I need to eliminate a series of text. The text can be variable in length, so doing any trim or strip functions will not work. The string is: 

  <img src="X:\UB_Routing\images\ServiceOrders\150 E MAIN ST.png"><br>150 E MAIN ST

or

  <img src="X:\UB_Routing\images\ServiceOrders\3207 SE ROSESPRING DR.png"><br>3207 SE ROSESPRING DR

As a few examples, but they can be any address. 

 

I am looking for a Python field calculator solution to remove everything before and including the value of <br>

From the examples above, the only values left would be:

150 E MAIN ST

3207 SE ROSESPRING DR

Outcomes