Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Usually regex libraries have a replace or sub function; however, I could only find: QRegularExpression::swap QRegularExpressionMatch::swap
Is swap used for this purpose? I couldn't find any examples, or figure it out. A basic example would be appreciated.
@ravas I found QString replace.
replace(const QRegularExpression & re, const QString & after) http://doc.qt.io/qt-5/qstring.html#replace-13