in reply to Regex help

Why not test with do{use bytes; length($string);}? Or substr if you want to be forgiving and trim oversized data?

After Compline,
Zaxo