I got a 99 civic ex. prev owner cut door harness from inside car.(its only wires no connector)

and the actual door doesnt have harness or connector.

If i buy a door harness and cut connector will wires match up?? tryna figure out what I need to do b4 I spend money.

lmk
thanks in advance!