It finished 2-all after 90 minutes.
Alejandro Garnacho’s extra time goal secured victory for the Blues.
But Wrexham had an extra time equaliser ruled out by VAR due to offside.
Earlier Arsenal were also pushed close by League One side Mansfield before winning their tie 2-1.
In the National League Sutton were hammered 5-nil by Morecambe at Gander Green Lane.
Hampton & Richmond Borough beat Dover 2-1 in the National League South at the Beveree Stadium.
Walton & Hersham continue to enjoy a 9-point lead at the top of the Southern League following a 3-1 win at Havant & Waterlooville.



