Nov 08, 2024 07:53 AM
We have a load of addresses in a database. They are individually pasted into a Long Text field.
The issue:
Some addresses are in this format -
Solved! Go to Solution.
Nov 08, 2024 07:21 PM
Does this look right?
SUBSTITUTE(
Address,
REGEX_EXTRACT(Address, "(?:.*\n)?(.*)\n.*$"),
UPPER(REGEX_EXTRACT(Address, "(?:.*\n)?(.*)\n.*$"))
)
Nov 08, 2024 07:21 PM
Does this look right?
SUBSTITUTE(
Address,
REGEX_EXTRACT(Address, "(?:.*\n)?(.*)\n.*$"),
UPPER(REGEX_EXTRACT(Address, "(?:.*\n)?(.*)\n.*$"))
)
Nov 11, 2024 06:14 AM
Great stuff - thank you!