• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

How to use search replace with placeholders / conditions

rtissler

Member
I am looking for a way to replace in several texts items such as [amazon item="individual number"] where individual number is unique. I want to delete these lines completely, when the lines begin with [amazon item... Also, are there conditions too when replacing? Such as ... if there is an <h2> the line before, delete this line too.
 

ArshilAhmad

Moderator
Staff member
Currently, there is no dedicated application that can help you with this use case. Unfortunately, this particular use case doesn't appear to be possible.

If you are familiar with coding, you can write your own code (or ask ChatGPT to write one for you) in Python or JavaScript for this specific use case and use Code by Pabbly to run that code and get the desired output.
 
Top