Need to parse + from phone number

:bullseye: What is your goal?

need to get rid of the + sign off the phone number

:thinking: What is the problem & what have you tried?

{
“channel”: “37129648020”,
“template_name”: “broadcast_mebeles”,
“broadcast_name”: “broadcast_mebeles”,
“recipients”: [
{
“phone_number”: trim({{1.message.text}}; “+”),
“local_message_id”: “local-msg-123”,
“custom_params”: [
{
“name”: “Vārds”,
“value”: “{{1.sender.id}}”
}
]
}

1 Like

Have you tried the Phone Number module?

1 Like

Hello,

Welcome to the Community!

trim removes space characters at the start or end of the text.

Try with replace:

{{replace(+123123123; "+"; emptystring)}}

or use dedicated module Phone numberParse a phone number

1 Like

I would just use the replace function instead of wasting an opearation on the module. If all you need to do is remove the + {{replace(Phonenumber; “+”; emptystring)}}