Do the headphones have markings to show which is physically L or R?
If so, just keep trying pairs of wires using the method posted by others above,until you find ,say, the L one.
The other pair are the R.
But,wait--there's more! The above finds the two sides,but it doesn't necessarily get them phased correctly.
The only easy way to do this is if you can somehow see the diaphragms.
You then put the two pairs in parallel,& do the ohmmeter test as before.
If both diaphragms move in the same direction,they are phased correctly.If not,reverse one connection.
The other(harder) way is to use a tone or mono music,again with the earpieces parallelled,& see if you can hear the difference.
The wrong way round should subtract,the right way,add,but I think you may need "Golden ears" to notice.

VK6ZGO