ReReplacer

Replace underscores by spaces in titles

1 year 9 months ago #74457

Arjan Menger's Avatar Arjan Menger

Hi all,

I need to replace any underscore by a space in the title of pages. For example:

<title>Voorbeeld_artikel - Mywebsite.com</title>

To

<title>Voorbeeld artikel - Mywebsite.com</title>

I'm a little rusty using regular expressions, so a bit of help is much appreciated! 🙂

1 year 9 months ago #74458

Peter van Westen's Avatar Peter van Westen Admin

With ReReplacer Pro you can use the 'Search Between' field. So you can make it only search between <title> and </title>.
Then simply replace _ with a space.

Seeing there is a 3 character limit on the search field, you can (mis)use the List option and search for:

_,_
Replace with:
[[space]],[[space]]