I have two strings say example
str1 = "The first two have explicit values, but";
str2 = "first two have explicit values, but disabled is empty";
I need to compare the two strings and take out part "first two have explicit values, but"
I tried using 'match' but it returns me null value.
Is there any way to accomplish this with javascript or jQuery?