Jump to content

another preg replace


poe

Recommended Posts

i need to replace all text references that have vbHmo characters

 

from : this  ->  that:

 

vbHm0_156.js  ->  vbHm0_156.xx

vbHm0_1409.js  ->  vbHm0_1409.xx

vbHm0_1267.js  ->  vbHm0_1267.xx

 

the # after the _ is a random number and can be either 1 to 5 digits inlength.. so basically all i am fdoing is changing the .js to .xx

Link to comment
https://forums.phpfreaks.com/topic/250476-another-preg-replace/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.