Complex sentence: At the same time the regiment's second squadron had moved right, capturing three artillery guns and two machine-guns, while the two remaining squadrons charged through the town virtually unopposed, facing only sporadic rifle fire.
Split into simpler sentences: At the same time the regiments second squadron had moved right capturing three artillery guns and two machine-guns. While the two remaining squadrons charged through the town virtually unopposed, facing only sporadic rifle fire.