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.

Thanks!

Kemahiran: PHP

Lihat lebih lanjut: replace rgb hex, php strip rgb number, replace hex php, php replace rgb, php replace rgb hex, search replace hex files, search d, 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, vba replace hex, hex files query replace, replace hex file content, replace hex value files, replace hex text file, search replace hex, hexadecimal replace files, find replace hex file, php replace hex

Tentang Majikan:
( 90 ulasan ) London, United Kingdom

ID Projek: #342894