Sedang Disiapkan

Search and replace HEX for rgb in single .txt file

Hey, I need a script that will search through one .txt file and replace all instances of HEX with the rgb values of the same color.

For example; I'd need it to find: FFFFFF and replace it with rgb(255,255,255).

The original HEX has no # and the rgb color must replace with rgb(brackets)'s as above. So exactly this: FFFFFF will become exactly this: rgb(255,255,255)

I'm looking for it to be done asap.


Kemahiran: PHP

Lihat lagi: replace rgb hex, php strip rgb number, replace hex php, php replace rgb, php replace rgb hex, search replace hex files, search d, script find replace hex values, search hex value txt file, hex replace, vba replace txt file, search replace rgb hex, php search hex number, searching hex file replacing, replace hexa, color rgb hex search, php replace rgb style, hex rgb, rgb hex php find replace, vba replace hex, hex files query replace, php find replace rgb hex, replace hex file content, replace hex value files, search replace txt file script

Tentang Majikan:
( 91 ulasan ) London, United Kingdom

ID Projek: #342894