WP CLI Search-Replace Wildcard Usage
-
Hi!! I’m trying to remove some code from my databases using WP CLI but I’m having trouble with the search-replace wildcards. I’ve so far been unable to find an example of the syntax.
This is what I have so far:
wp search-replace ‘<noindex><script id=”wpinfo-pst1″*</script></noindex>’ ” wp_posts wp_postmeta wp_terms –dry-runI want to clear all the text that includes, and is between:
<noindex><script id=”wpinfo-pst1″
and
</script></noindex>Thank you so much for your time!
-Mike
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘WP CLI Search-Replace Wildcard Usage’ is closed to new replies.