Search
Other ReReplacer questions
Forum

Replace 0.0 -> 0

Isabel Dömer's Avatar Isabel Dömer
Hello, I would like to replace values ​​in a table. The value "0.0" should be output as 0. I have done this so far, but now dates are also affected by the replacement, e.g. 20.05. is issued as 205th. How can I limit this to only "0.0"? Thanks very much!
Peter van Westen's Avatar Peter van Westen ADMIN
That depends a bit on the surrounding HTML and how unique you want it.

You could try this with Regular Expressions:
>\s*0.0\s*<
Replace with:
>0<
Please post a rating at the Joomla! Extensions Directory
Isabel Dömer's Avatar Isabel Dömer
Thank you so much! That works perfect!!
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription