Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Regular expression for network path
Vani last edited by
How to write regular expression for Network path with below condition
. (10//,///10//) or(Example: (file://0.0.0.10/) , ///10, ///10//,…….)
| " < > ; ? are prohibited
Ratzz last edited by Ratzz
ValentinMichelet last edited by ValentinMichelet
Have a look at the documentation: http://doc.qt.io/qt-5/qregularexpression.html
If you use Qt5, I recommend you use QRegularExpression class instead of QRegExp class. Indeed, QRegularExpression API is clear and works better.
Are you familiar with regular expression? Otherwise you should search tutorials on the Internet. And here is a fun website to learn by playing: https://regexcrossword.com/
If you have any further question, feel free to ask.