Skip to main content
Question

How do I find and replace link in html file?

  • October 28, 2021
  • 6 replies
  • 190 views

I am attempting to scan a Google shared folder (with many subfolders), find any html files that contain a specific url link (i.e. https://protect-us.mimecast) attached to a word string with the file and remove it?  

Example:

find: testing.co 

remove: testing.co

Appreciate any help.

 

 

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

6 replies

AppGuyAaron
Forum|alt.badge.img+1
  • Beginner
  • October 28, 2021

@mbernal3 confirming the url is in the file, not the file name?


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • October 28, 2021

Hi @mbernal3 

Make sure to check the available GDrive Zap app triggers/actions to help determine the feasibility of your use case:

https://zapier.com/apps/google-drive/integrations#triggers-and-actions


  • Author
  • Beginner
  • October 28, 2021

Yes, in the file. Not the file name.


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • October 28, 2021

@mbernal3

NOTE: Zaps work when turned ON for new/updated data going forward.

 Try these Zap steps:

  1. Trigger: GDrive - New File
  2. Action: Filter
  3. Action: Formatter > Text > Replace
  4. Action: GDrive - Replace File

 


  • Author
  • Beginner
  • October 28, 2021

Thanks @Troy Tessalone - i need this to trigger for existing files, which wont work for what i am doing. Thanks for your response!


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • October 28, 2021

@mbernal3 

Try configuring a looping Zap using a GDrive Find File step: