Help

The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.

Extracting Telephone From Text field

Topic Labels: Data Formulas
Solved
Jump to Solution
1502 7
cancel
Showing results for 
Search instead for 
Did you mean: 
alessandrotasso
5 - Automation Enthusiast
5 - Automation Enthusiast

Hello, I have a lot of text in a cell LONG TEXT (I extract a little bit of this), I need to create a new Formula column to extra only the telephone number, what can i do? 

Buonasera, Chiedevo disponibilità per parziale permuta con mia autovettura MASERATI 4200 SPYDER del 2002 ASI - TARGA ORO 37.000 Km circa colore Argento scuro capotte e interni BLU. Macchina sempre tagliandata da rete ufficiale kilometri REALI io sono il 3 proprietario. La settimana scorsa ho inserito annuncio su AUTOSCOUT 24 .. chiamano in tanti ma tutti senza soldi.. Cordiali saluti

Rispondi ora:
MARCO PxxxxNI
E-Mail: praxxxxxx@gmail.com
Tel: 339xxxxx00
===Veicolo======================================================
Guarda l'annuncio:

Thank you very much!

1 Solution

Accepted Solutions
TheTimeSavingCo
18 - Pluto
18 - Pluto

Try:

REGEX_EXTRACT({Notes}, "Tel:\\s*(.*)")

Screenshot 2024-07-11 at 10.26.04 PM.png

See Solution in Thread

7 Replies 7
TheTimeSavingCo
18 - Pluto
18 - Pluto

Try:

REGEX_EXTRACT({Notes}, "Tel:\\s*(.*)")

Screenshot 2024-07-11 at 10.26.04 PM.png

Wonderful!! Thank you very much!!!

I've another extraction to do, how can i exctrat only "Porsche" from this?

AutoScout24.it - Sell-ID: 2120039622. Richiesta informazioni Porsche Macan € 85.900,- Offerta n.: 20720389

Hmm, could you provide 5 examples of text where you want to extract "Porsche" please?  With that I can attempt to identify a pattern to do the extraction!

Another example:

AutoScout24.it - Sell-ID: 35738. Richiesta informazioni Volkswagen T-Cross € 29.900,- Offerta n.: 20503101

Here I want to extract "Volkswagen"

=======

AutoScout24.it - Sell-ID: 2120039622. Richiesta informazioni & Permuta MINI One € 20.900,- Offerta n.: 20466122

Here I want to extract "MINI"

Thanks!  Try this:

LEFT(
  SUBSTITUTE(
    SUBSTITUTE(
      Name,
      LEFT(
        Name,
        FIND(
          'informazioni', Name
        ) + 12
      ),
      ''
    ),
    "& Permuta ", 
    ""
  ),
  FIND(
    ' ',
    SUBSTITUTE(
      SUBSTITUTE(
        Name,
        LEFT(
          Name,
          FIND(
            'informazioni', Name
          ) + 12
        ),
        ''
      ),
      "& Permuta ", 
      ""
    )
  )
)

Screenshot 2024-07-13 at 6.37.59 PM.png

 

Hello, they change text, how can i extract phone and version? 

SCR-20250126-nvwn.png

SCR-20250126-nwgm.png