Skip to main content
Best answer

How do I get text from in between two characters?

  • June 26, 2022
  • 2 replies
  • 743 views

I use an earlier step to get info from a Google calendar entry, but can’t seem to figure out how how write the Python code to extract the text between a [ and a ] from the calendar entry title. 

For context, the calendar entry title would look like this: 

Media Interview - Jeremy Knauff [TBBJ]

And in this case, I’m trying to get the TBBJ using the Text in Formatter. 

Any advice? I’m stumped. 

Best answer by Troy Tessalone

Hi @jlknauff 

Good question.

Check out this related Code Mode topic:

 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Answer
  • June 26, 2022

Hi @jlknauff 

Good question.

Check out this related Code Mode topic:

 


  • Author
  • New
  • June 26, 2022

Hi Troy,

Your solution is perfect! Thank you! And I think it will help solve some other Zaps I’ve had a challenge with as well.