Here is the output of compose
November 13, 2024 9:30pm EST
Calendar: Woodworking Class / Workshop
Name: Jeff Ginsberg
Phone: (416) 111-2211
Email: jeff@gtawoodworks.com
Location....
These are the functions I have tried to extract JUST the phone number.
Desired Result = (416) 111-2211
Test1
trim(split(split(outputs('Compose'), 'Phone: ')[1], '\n')[0])
Result =
(416) 111-2211
Email: jeff@gtawoodworks.com
Location...
Test2
trim(first(split(split(outputs('Compose'), 'Phone: ')[1], 'Email:')[0]))
Result =
(
Test3
trim(first(split(split(outputs('Compose'), 'Phone: ')[1], '\n')))
Result =
(416) 111-2211
Email: jeff@gtawoodworks.com
Test4
trim(first(split(split(outputs('Compose'), 'Phone: ')[1], ' ')))
Result =
(416)
Any help would greatly be appreciated.
TIA