Something like this should work, if your lines are always formatted as you show (a 6-byte hex address first, followed by hex as 8 two-byte groups):
QRegularExpression regExp( "^[0-9a-fA-F]6\\s+|(([0-9a-fA-F]2\\s+)8)+");
string.
split( regExp,
QString::SkipEmptyParts );
QRegularExpression regExp( "^[0-9a-fA-F]6\\s+|(([0-9a-fA-F]2\\s+)8)+");
string.split( regExp, QString::SkipEmptyParts );
To copy to clipboard, switch view to plain text mode
Untested, you might have to play around with the regular expression to get it working the way you want. You will probably also have to trim whitespace from the ends of the sub-strings because the regular expression includes the separators as part of the matching.
Bookmarks