• Resolved pasharain

    (@pasharain)


    You replied to someone using “Better Search and Replace” to replace things in your tables this way:

    “Using such a plugin will normally work, but you’ll have to be extra careful with quotation marks ” and slashes / in the search and replace terms.
    For example, you might have to search for

    https:\/\/www.example.com\/your-url\/
    (note the extra \ before the \).

    Regards,
    Tobias”

    Can you tell me in what way you need to be careful with ” marks?

    I want to find this:
    sc_embed_player fileurl
    and replace it with this:
    sc_embed_player loops=”true” fileurl

    I am concerned because of the ” in my replace text. Please advise and I will be certain to leave a donation. I appreciate your efforts very much.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Basically, the " have to be escaped by a \. So, both in the search and replace values just use \" instead of just ".

    Regards,
    Tobias

    Thread Starter pasharain

    (@pasharain)

    Thanks so much! I just send a donation. Keep up the great work!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!
    And thanks for the donation, I really appreciate it!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

    Thread Starter pasharain

    (@pasharain)

    Replying to this in case it helps someone else…Be sure to use ” straight quotes when replacing and not ” curly ones. My shortcode DID NOT work with curly quotes.

    Hopefully, I saved someone the frustration I experienced.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    oh, yes, I should have mentioned that as well. In all these codes it’s indeed vital to use the upright/straight " quotation marks.

    Regards,
    Tobias

    Thread Starter pasharain

    (@pasharain)

    I dont fault you Tobias. Who knew my computer would automatically change my quotes to curly? I was just trying to help others in my situation. Cheers!

    • This reply was modified 5 years, 8 months ago by pasharain.
    • This reply was modified 5 years, 8 months ago by pasharain.
    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    it’s actually the WordPress forums software, so you did nothing wrong 🙂

    Regards,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Search & Replace in Tables’ is closed to new replies.