Script that changes text in wordpress files

Closed job
no avatar
Simplo
Employer
16 deals
Job category:
Desktop/web applications
Expected budget:

Negotiable

Published:
Valid until:

Job description

I need a script that searches for a regular expression with a number, performs an action on it and changes the unit. The idea is to convert kW to hp.

We have in the files (for example):

145 kW

And what is needed is: (145*1.36) "kW"="hp"

All files (.html and .php) are placed in one directory.

Preferable solution

Skrypt .php lub inny, który zadziała na serwerze.

Required features

Skrypt znajdujący wyrażenie regularne z liczbą i jednostką. Przeliczenie i zamiana liczby wg wzoru 1kW=1,36KM i jednostki kW na KM

Required functions:

Script finding regular expression with number and unit. Converting and converting the number according to the formula 1kW=1.36KM and the unit kW to KM A .php or other script that will work on the server.