Topic: Regular expression help with image extensions (Read 2457 times)
Atari ST fan
Posts: 8
60 credits Members referred : 0
« on: Jun 01, 2008, 06:04:38 am »
Regular expression help with image extensions Quote: (! preg_match( "/^<img src/i", $show ) ) hi there i need to select all images with extension .png|.jpg|.gif
How do i alter the above RE to exclude images? thanks
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5799
46391 credits Members referred : 3
« Reply #1 on: Jun 02, 2008, 02:57:23 pm »
I don't understand. You want to exclude images, or you want to get only png, gif and jpg?