Perl framework String::Scanf supports scanning strings for data using formats similar to the libc/stdio sscanf().