Is there a way to define a QRegExp containing all arithmetic operators in a single expression? I am able to do it individually , like for operator + as QRegExp rx("\\+");.. I want to define a single regular expression containing all arithmetic operators. Is it possible? Can anyone help me with this?