[WordPress] 外掛分享: Search Regex

首頁外掛目錄 › Search Regex
WordPress 外掛 Search Regex 的封面圖片
100,000+
安裝啟用
★★★★
4.7/5 分(100 則評價)
7 天前
最後更新
問題解決
WordPress 6.6+ PHP 7.4+ v3.4.3 上架:2007-09-16

內容簡介

Search Regex 為 WordPress 提供強大的搜尋與替換功能,能夠在文章、頁面、自訂文章類型及其他資料來源中進行搜尋與替換,超越標準搜尋能力,支援 PHP 的正則表達式,方便用戶進行大規模資料修改。

【主要功能】
• 支援正則表達式搜尋與替換
• 可搜尋文章、頁面及自訂文章類型
• 支援批次修改與個別修改
• 可導出結果為 CSV 和 SQL
• 動態短碼支援,插入當前日期時間

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.4.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Search Regex」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Search Regex adds a powerful set of search and replace functions to WordPress posts, pages, custom post types, and other data sources. These go beyond the standard searching capabilities, and allow you to search and replace almost any data stored on your site. In addition to simple searches you have the full power of PHP’s regular expressions at your disposal.
You can use this to do things like:
– Help migrate a site from one domain to another
– Update URLs in links and images
– Perform site-wide changes
Search filters can be created to match any column of any WordPress table. For example:
– Find all posts in a category
– Find all post meta data without a post
– Find all posts in a date range
Search Regex handles small and large sites.
Search Regex has been tested with PHP from 7.4 to 8.4.
What can I search?
You can search:
– Posts
– Pages
– Any custom post type
– Comments (including spam)
– Users
– Meta data
– WordPress options
Full regular expression support is provided, and you can capture data and use it in the replacement.
Actions
A variety of actions can be performed on matching results:
– Modify and replace the result
– Delete the result
– Export to CSV and SQL
– Perform custom PHP action
Modify and Replace Data
Results can be individually modified by clicking on the item to change, and using the popup modifier.
Bulk modifications can be performed against all matching results.
The types of modification depend on the data being changed:
– Numbers can be added or subtracted to existing numbers
– Hours, days, weeks, and months, can be added to dates
– Tags and categories can be added, removed, and substitued
Custom shortcodes are supported that allow dynamic data to be included:
– Add the current date and time, in any format, to content
– Insert data from other columns. For example, insert the category into the title
– Transform existing data. For example, convert case, change underscores to dashes.
Example uses
Some ideas for potential uses:
– Delete all comments that match a phrase
– Add a category to all matching posts
– Remove orphaned meta data
Support
Please submit bugs, patches, and feature requests to:
https://github.com/johngodley/search-regex
Please submit translations to:
https://translate.wordpress.org/projects/wp-plugins/search-regex
Translations
Translations are provided by WordPress itself. You can update the translations by going to the Dashboard > Updates section of WP admin.
Documentation
Full documentation can be found on the Search Regex site.

延伸相關外掛

文章
Filter
Mastodon