I\'m new to regular expressions in JavaScript, and I cannot get a regex to work. The error is:
Uncaught SyntaxError: Invalid regular expression: /(.
/(.
Try this, it will seperate the left hand side and the right hand side:
(.*x.*)=(.+)
Live demo