Clay Icon

Need help making a formula to pull out a certain text from a web scrap...

·
·

Need help making a formula to pull out a certain text from a web scrape

  • Avatar of Clay Team
    Clay Team
    APP
    ·
    ·

    Hey hey! Can you drop the URL for your table here? (if applicable) 🫶 Don't worry, only admins will be able to open your table 😉

  • Avatar of Clay Team
    Clay Team
    APP
    ·
    ·

    Hey hey, what are you trying to make a formula do?

  • Avatar of Gabriel B.
    Gabriel B.
    ·
    ·

    I want to extract the state from either the title or the body from the webscrape.

  • Avatar of Gabriel B.
    Gabriel B.
    ·
    ·

    Got it to work for HomeAdvisor site but not yelp or bbb as you can see and sometimes it's pulling llc, inc. and other things instead of state

  • Avatar of Matthew Q.
    Matthew Q.
    ·
    ·

    Gotcha, just checking out the column now. Can you give me an example row where it’s not working?

  • Avatar of Gabriel B.
    Gabriel B.
    ·
    ·

    2979 you can see it didn't work, as well as 3586

  • Avatar of Matthew Q.
    Matthew Q.
    ·
    ·

    gotcha, testing some things out

  • Avatar of Gabriel B.
    Gabriel B.
    ·
    ·

    Thanks for the help!

  • Avatar of Matthew Q.
    Matthew Q.
    ·
    ·

    hmm ok sorry still checking this out

  • Avatar of Matthew Q.
    Matthew Q.
    ·
    ·

    the hard part of this is extracting the two letter state code from the body text with just a formula

  • Avatar of Matthew Q.
    Matthew Q.
    ·
    ·

    You’ll probably need to use our Use AI (With ChatGPT) integration for that

  • Avatar of Matthew Q.
    Matthew Q.
    ·
    ·

    It will be a bit too complex with formulas likely given the text won’t be standardized at all

  • Avatar of Gabriel B.
    Gabriel B.
    ·
    ·

    gotcha, thanks for the help