Fed & Che's life

18 Feb, 2011

Regular expression to removed scaled images after doing a Posterous to WordPress import

Posted by: Fed In: Other stuff

0 Flares Twitter 0 Facebook 0 Google+ 0 0 Flares ×

working on a regular expression to removed “scaled” images after doing a Posterous to WordPress import.


preg_match_all('@http://.*/wp-content/uploads/.*.scaled.*.jpg@i',$new_content,$scaled_imgs);
if($scaled_imgs){
$scaled_imgs = $scaled_imgs[0];
foreach($scaled_imgs as $sca

Related posts
851 views, 1 so far today

No Responses to "Regular expression to removed scaled images after doing a Posterous to WordPress import"

Comment Form



Recently watched movies

Pictures

|

Categories

Who are we?

Statistics

Listed on Top Philippines website
Locations of visitors to this page


  • Fed: Happy 48th Birthday Singapore! We are getting ready to watch Singapore flag later :) See you there!
  • alohna nicole mendoza: lubid
  • candy: I want to apply for this job , but how ?
  • jeriwean: i want to have a bladed fan... so please teach me ho to get bladed fan...
  • Fed: Just some ice breaker. Smile a little while we prepare for our next job interview :)
  • tc: great!

My websites / Sponsors

Make Money sharing links
Page Xray
PacquiaoStory - The Legenday Boxer, Manny Pacman Pacquiao
143Pets - Cute pets
Play Flash Games online
Fedmich Computer Shop
Lyrics and music videos
Fedmich Works
fedmich designs

Play music