import re
text = "be besides being bee be, be. before, Be Be. forbe be_ be3 be"
be = re.findall('(\\bbe\\b)', text, re.IGNORECASE)
print(len(be))
print(be)
aW1wb3J0IHJlCgp0ZXh0ID0gImJlIGJlc2lkZXMgYmVpbmcgYmVlIGJlLCBiZS4gYmVmb3JlLCBCZSBCZS4gZm9yYmUgYmVfIGJlMyBiZSIKYmUgPSByZS5maW5kYWxsKCcoXFxiYmVcXGIpJywgdGV4dCwgcmUuSUdOT1JFQ0FTRSkKcHJpbnQobGVuKGJlKSkKcHJpbnQoYmUpCg==