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.