wp search-replace '<script async\s*.*>\s*.*<\/script>' '' wp_posts --regex --allow-root