Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Search Regex

Descrição

Search Regex adds a powerful set of search and replace functions to WordPress. 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.

The driving force behind this plugin is to aid in website migration and upgrading. If you’ve ever done either of these then you know the pain of having to go back through all your data, changing URL paths and fixing things. With this plugin you can reduce this work to a search and replace pattern and the job is finished in seconds.

Why would you want this? The primary reason for the plugin was to aid in relocating directories. It’s a real pain to manually go through every post and change image directory names. With this plugin all that was required was a simple search and replace pattern, and the job was finished in a few seconds.

Search Regex is available in the following languages:

  • Inglês
  • Arabic, thanks to R.SN
  • Belarussian, thanks to Marcis Gasuns

Documentação

Full documentation can be found on the Search Regex Page page.

Ecrãs

  • Search options
  • Inline search and replace

Instalação

The plugin is simple to install:

  1. Download search-regex.zip
  2. Unzip
  3. Upload search-regex directory to your /wp-content/plugins directory
  4. Go to the plugin management page and enable the plugin
  5. Configure the plugin from Management/Search Regex

You can find full details of installing a plugin on the plugin installation page.

Perguntas frequentes

Installation Instructions

The plugin is simple to install:

  1. Download search-regex.zip
  2. Unzip
  3. Upload search-regex directory to your /wp-content/plugins directory
  4. Go to the plugin management page and enable the plugin
  5. Configure the plugin from Management/Search Regex

You can find full details of installing a plugin on the plugin installation page.

Avaliações

21 de Agosto, 2018
The documentation is really poor. For simple things it will probably help you out. For what I'm trying to do it just doesn't seem to work without any explanation. Hard to know if I'm using it wrong, if it just doesn't support regex features I need (same regex works elsewhere), or if the plugin is not fully compatible with newer versions of php. Some expressions return a few matches then give me an error: Fatal error: Uncaught Error: Call to undefined method SearchRegex::base_url()...
17 de Agosto, 2018
The interface is simple yet useful. Particularly, I appreciated the Replace feature allowing me to preview the changes before committing them to the database. It was quick and painless! 🙂
27 de Janeiro, 2018
THIS IS THE ONE. You can search, preview your changes before saving ... just brilliant. Other plugins charge for less functionality. THANK YOU.
Ler todas as 62 avaliações

Contribuidores e programadores

“Search Regex” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

Traduza o “Search Regex” para o seu idioma.

Interessado no desenvolvimento?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Registo de alterações

1.4.16

  • Fix error thrown by regex options, props to leoxavier
  • Fix pagination problem

1.4.15

  • Minor refresh

1.4.14

  • WP 3.5 compat

1.4.13

  • Code cleanup

1.4.11

  • Add Arabic translation

1.4.10

  • Fix deep slashes

1.4.9

  • WP 2.8 compatibility

1.4.8

  • Update base library
  • Fix issue with regex not being selected

1.4.7

  • WP 2.6

1.4.6

  • Added tag & sniplet searching.
  • Make work in Safari

1.4.5

  • Add search regex capabilities (‘search_regex_read’ and ‘search_regex_write’).
  • Fix meta values

1.4.4

  • Fix escaping issue
  • Allowing search limit and direction

1.4.3

  • Allow searching in pings & trackbacks

1.4.2

  • Fix escaping bug

1.4

  • Extensible plugins
  • Reorganisation of code

1.3

  • Use correct table prefix

1.2

  • Fix stupid typo

1.1

  • Minor cosmetic changes
  • Set a timeout limit