Popular Post yemdoing Posted July 27, 2022 Popular Post Report Posted July 27, 2022 ippudu I have a text field with data like below samples, and angle brackets ni < to < > to &rt; format ki change cheyyali . regex expression tell no . This is needed in python script Sample 1: Lasku Tapa <[email protected]> Sample 2 : Lasku Tapa <[email protected]>; Kompalo Kumpati <[email protected]> Output 1: Lasku Tapa <[email protected]< Output 1: Lasku Tapa <[email protected]>; Kompalo Kumpati <[email protected]> 3 Quote
anna_vendy Posted July 27, 2022 Report Posted July 27, 2022 3 minutes ago, yemdoing said: ippudu I have a text field with data like below samples, and angle brackets ni < to < > to &rt; format ki change cheyyali . regex expression tell no Sample 1: Lasku Tapa <[email protected]> Sample 2 : Lasku Tapa <[email protected]>; Kompalo Kumpati <[email protected]> Output 1: Lasku Tapa <[email protected]< Output 1: Lasku Tapa <[email protected]>; Kompalo Kumpati <[email protected]> Kapalika Kam kam Quote
yemdoing Posted July 27, 2022 Author Report Posted July 27, 2022 2 hours ago, meri_zindagi said: re.sub adey use chesthunna for a field on data frame. But last lo malli repeat avthundi in reverorder. re.sub(r"<[^>]*)",r,"<\`>",body_test) Quote
former Posted July 27, 2022 Report Posted July 27, 2022 String.Replace function will work. You don't need a Regex Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.