All perfect praise be to Allah, the Lord of the worlds. I testify that there is none worthy of worship except Allah and that Muhammad, sallallaahu ʻalayhi wa sallam, is His slave and Messenger.
The scholars held different views regarding the ruling on such discharges as described in the question. The majority of the scholars held that they are considered menses. Some scholars, like Shaykh Al-Islam Ibn Taymiyyah, held that they are not menses in an absolute sense (i.e. not in all cases). The Hanbalis held that they are considered menses if they are discharged during the regular time of menses, and this is the view that we adopt at Islamweb. In any case, you may follow the opinion of the scholar whom you trust.
Allah knows best.