Hi @SGaist ,
Thanks for your response. Just wanted to know for sure if there was a way to do it with Qt itself. Will start looking at other options.
Thanks.
One small note, you are wasting CPU cycle here. The QRegularExpressionMatchIterator returns only match objects that contains a match thus the if is useless.