How can filter string that don’t match in totally?

I want to filter string that not have all coincidences (I deleted blank spaces)

With string.includes()
'videocardgigabytegeforce3070'.includes('videocardgigabyte') return true
'videocardgigabytegeforce3070'.includes('videocardgeforce') return false

I want to second case also return true, If you have a solution with function or regex I’ll appreciate it