I would like to make a condition with two possibilities in the same string:
for k in string:
if 'www.housemike.com/b' in k:
do something
and
for k in string:
if 'www.housemike.com/c' in k:
do something
Is it possible to make this more simplified than:
for k in string:
if 'www.housemike.com/b' or 'www.housemike.com/c' in k:
do something
Maybe would it be possible with a regular expression between "b" and "c"?