The Marriage Act 1753, formally "An Act for the Better Preventing of Clandestine Marriage" ( and popularly known as Lord Hardwicke's Act), required that banns had to be called or a marriage licence obtained for a marriage to be legally valid. In fact this simply codified the existing practice within the Church of England into law. Under this statute the banns had to be read aloud on three Sundays before the wedding, in the home parish churches of both parties. No time limit was set on the time between the reading of the banns and the marriage.
The Marriage Act 1836 allowed marriages to be legally registered in buildings belonging to religious groups other than the Church of England, Jews and Quakers (the 1735 Act only recognised marriages conducted in buildings belonging to those groups), legalised civil marriage in England and Wales. It did not change the requirements for banns or licences for Church of England weddings.
The Marriage Act 1949 introduced the requirement that the marriage had to be solemnised within three months of the banns being read (section 12.2). Prior to that the time limit did not apply.
Since the banns in your case were read in November 1904, and the marriage (if it is the same couple) was solemnised in 1907, this would be acceptable under the law at that date. A delay of a little over two years between banns and marriage would certainly be unusual in my experience, but not against the law as enacted at that date.