Comparing strings is JS?

const str1 = 'Regular expression'
const str2 = 'Regular reference'

The second constant is omitted the letter and. Need to compare 2 rows if different by 1.2 character more true to false

UPD: ready-made algorithms
April 19th 20 at 12:07
1 answer
April 19th 20 at 12:09

Find more questions by tags Regular expressionsJavaScript