hello I would like to know what is the best way to search pattern like
AB where A should be any except A and B should only be B ? Exempple : 'ADSDFSDAB' should return false where as 'BBBSDSSDSDNSSS' should return true.
So, for every B in my string, I want to return true if there is no A preceding it.