Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Find RegExp's and change thier string format
MarkoBorkovic last edited by
My name is Marko.
I'm a 14 year old programmer who recently started working with Qt.
I took on a pretty big project that i think is going to help me learn the most.
That project is an IDE. Im working on an IDE for php and i can't seem to figure out
syntax highlighting. I know there is QSyntaxHighlighter class but i don't understand it. :(
Is there a way that you could write an regular expression and then change string format of every occurrence of that RegExp in a text edit?
Im using Qt4 if it matters.
Thank you so much!
t3685 last edited by t3685
Use you Qt5 if you can and this http://doc.qt.io/qt-5/qregularexpression.html#details
Forgot to add this: use this to replace http://doc.qt.io/qt-5/qstring.html#replace-11