Thread: Regex perts..
View Single Post
Old 02-24-2012, 02:17 PM  
Jakez
Confirmed User
 
Jakez's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: oddfuturewolfgangkillthemall!!!!!!!
Posts: 5,656
Regex perts..

Can anyone help with this simple regex really quick, the shit always mind fucks me.

I need to split this:

ASDFjpgQWERjpg

into:

[0] => ASDFjpg [1] => QWERjpg

Can split it with 'jpg' but don't know how to keep the jpg on the end of them.

Please save me from this hour long headache
__________________
[email protected] - jakezdumb - 573689400

Killuminati
Jakez is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote