For some time I\'ve been trying to understand regular expressions in JavaScript, but it is extremely complicated. You could tell me how do I redeem separately each of the values
This won't answer your question, but you can use this awesome tool to generate and test regular expressions. It always come in handy when i need to use a regEx.