[Solved] regex two math operators side by side


Would this work? this will also match with any number of whitespace between two operators

/[\+\-\*\/]\s*[\+\-\*\/]/

solved regex two math operators side by side