mybe use $istok or $regex instead of all those "||"
but this is 500% better then ur old snippets
also there is no real need for the /'s