Forum Moderators: coopster
I have a situation where I have the following file name to manipulate in code.
variablebitnnn.extension
where nnn could be a number from 1 into the thousands and where variablebit could be alphas and numerics even with a numeric on the end.
I need to get at the nnn.extension bit.
Now in perl this would be easy you would to a regexp to match the variablebit and the rest would be in $'
Now how do I achieve this in PHP?
array matches parameter to pull out the part you want. Make sense?