Honestly, I am horrible with regular expressions and I needed a ton of help making this PHP regex. Although, I have decided that I need to convert a ton of my code to Javascript.
Here is my PHP regex:
if(preg_match('/^(([^,]+,){4}[^,]+\n){3}$/', $all_questions))
Could someone give me a hand on converting it to a Javascript regex?
Greatly appreciated, thanks!