I have below strings -
var string1 = "When did Harry meet Sally ???";
var string2 = "When did Harry meet Sally ?$@";
var string3 = "When did Harry meet Sally ?";
I need to report string3 as correct string out of the above options. With
string1.match(/[:!?+\<">'$‘;@€`*&.\\/]{2}/g)
I am able to say string1 is incorrect. How can detect that string2 is incorrect ?