When they heard [this], they were baptized in the name of the Lord Jesus.
Berean Study Bible (BSB) - Acts 19:5 >On hearing this, they were baptized into the name of the Lord Jesus.
Textus Receptus (TR) - Acts 19:5 >Ἀκούσαντες δὲ ἐβαπτίσθησαν εἰς τὸ ὄνομα τοῦ Κυρίου Ἰησοῦ.