Title: Include quotation marks
Last modified: August 22, 2016

---

# Include quotation marks

 *  [Media Cookery](https://wordpress.org/support/users/xianti/)
 * (@xianti)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/include-quotation-marks/)
 * <see next message>

Viewing 1 replies (of 1 total)

 *  Thread Starter [Media Cookery](https://wordpress.org/support/users/xianti/)
 * (@xianti)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/include-quotation-marks/#post-5698305)
 * How do I search and replace a string that includes double quotation marks?
 * For example, I want to search for:
    `<a href="%" rel="attachment%><img`
 * (with the % wildcard, which seems to work) and replace with:
    `<a href="#"><img`
 * When I try this, the replace operation fails due to the quotation marks.

Viewing 1 replies (of 1 total)

The topic ‘Include quotation marks’ is closed to new replies.

 * ![](https://ps.w.org/search-and-replace/assets/icon-256x256.png?rev=1776844)
 * [Search & Replace](https://wordpress.org/plugins/search-and-replace/)
 * [Support Threads](https://wordpress.org/support/plugin/search-and-replace/)
 * [Active Topics](https://wordpress.org/support/plugin/search-and-replace/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-and-replace/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-and-replace/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Media Cookery](https://wordpress.org/support/users/xianti/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/include-quotation-marks/#post-5698305)
 * Status: not resolved