Skip to main content
Solved

Formula for removing a comma from an email that has been extracted from a rollup

  • September 2, 2022
  • 2 replies
  • 57 views

Kirsten_Kern
Forum|alt.badge.img+6

How do I remove a comma from in front of an email that has been extracted from a rollup. I am very new to this formula writing.

I have a rollup field that has two emails in it. I have extracted the first email by itself. However, the second email alway has a comma in front of it. I need to remove that comma.

  1. How do I do that?
  2. Can I do it by altering this formula in any way?

REGEX_REPLACE({Email Roll Up from Educator}, “([^,])(.)”, “$2”)

Again, thank you for any help on this.

Best answer by Kirsten_Kern

I would try SUBSTITUTE. REGEX could work too but I’m lazy

SUBSTITUTE({Field with Comma In It}, ",", "")

Kamille,

Lazy is good for me! I just needed something so that I could configure a softr.io field and this will do it! Thank you! :partying_face:

2 replies

Kamille_Parks11
Forum|alt.badge.img+27

I would try SUBSTITUTE. REGEX could work too but I’m lazy

SUBSTITUTE({Field with Comma In It}, ",", "")

Kirsten_Kern
Forum|alt.badge.img+6
  • Author
  • Inspiring
  • Answer
  • September 2, 2022

I would try SUBSTITUTE. REGEX could work too but I’m lazy

SUBSTITUTE({Field with Comma In It}, ",", "")

Kamille,

Lazy is good for me! I just needed something so that I could configure a softr.io field and this will do it! Thank you! :partying_face: