  For any relatively prime integers $r$ and $s$, let $a_{r,s}(n)$ denotes the
number of $(r,s)$-regular partitions of a positive integer $n$ into distinct
parts. Prasad and Prasad (2018) proved many infinite families of congruences
modulo 2 for the particular case $a_{3,5}$. In this paper, we prove several
infinite families of congruences modulo 2 and 4 for the following pairs of
$a_{2,5}$ $a_{2,7}$, $a_{4,5}$ and $a_{4,9}$. For example,
$$a_{2,5}\Big(4.5^{2\beta+1}n+\dfrac{37\cdot5^{2\beta}-1}{6}\Big)\equiv0
\pmod4, $$ where $\beta \geq 0$.
