Thanks,
I have tried with other way, but it has small issue, look the code below,
Qt Code:
QRegularExpression re; re.setPattern("\\(.*?\\)"); QRegularExpressionMatch match = re.match(query); qDebug()<<"Match 0: "<<match.captured(0); qDebug()<<"Match 1: "<<match.captured(1); //Output: Match 0: "($..Properties[*])" // Match 1: ""To copy to clipboard, switch view to plain text mode
Here I didnt get the Match 1 as ($..Layer_Index), why ?
Bookmarks