Support forum

Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

Removing blanks from the number
sp_NewPost Add Reply sp_NewTopic Add Topic
March 20, 2020
2:44 pm
Henk Helmantel
Forum Posts: 1140
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Florian,

The option 'Extract from To Address' in the 'POP Server' settings of the Email Connector only extracts numbers without any spaces or other non-digit characters from the email. In an email with email address '+49171 xxx xxx xx@sms.service', Diafaan SMS Server will recognize only '+49171' as a potential phone number (the exact regular expression that Diafaan SMS Server uses is '\+{0,1}\d{4,20}').

There is no way to change the regular expression that Diafaan SMS Server uses to detect a phone number.

Regards, Henk

March 20, 2020
12:46 pm
Florian Ring

Hello support,

How do you remove blanks from the SMS number? I'm using an email Gateway to send sms and the number is extracted from the "To address". Some users have blanks in their numbers so the "To address" sometimes Looks like "+49171 xxx xxx xx@sms.service". When the email is processed by Diafaan fax Server it tries to send an sms to "+49171". So, is there any possibility to remove the blanks from the number?

I already tried to use the Number Template "regex:[^\d]replace:" but this doesn't have any effect.

Best Regards,
Florian Ring

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 494

Currently Online:
9 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 561

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 912

Posts: 3151

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1140