Thread: Regex perts..
View Single Post
Old 02-26-2012, 09:45 AM  
HomerSimpson
Too lazy to set a custom title
 
HomerSimpson's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
if can you use php

Code:
$x = ""; // that string with all that junk
$a = array(); // resulting array
$x str_replace('jpg', 'jpg|',$x);
$a = explode('|', $x)
var_dump($a);
that should do the trick
__________________
Make a bank with Chaturbate - the best selling webcam program
Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!!

PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email:
HomerSimpson is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote