Regular expression to match binary words?

Three consecutive zero chars: b01*0{3}01*\b Note It is not entirely clear whether this is what OP wants Edit Apparently it was :).

Three consecutive zero chars: \b01*0{3}01*\b Note It is not entirely clear whether this is what OP wants. Edit Apparently it was :).

B(1*0){3} will also match if the three zeros are not consecutive. This only matches as much as required (i.e. Up until the third zero).

If you want it to match the entire number, use \b(1*0){3}01*\b.

1 Elegant and nice thought to only match "as much as required". – jensgram May 12 '10 at 11:04.

– Amarghosh May 12 '10 at 12:26 right, the statement should've been written as"a number of zeros that can be divided by 3" :) – Noona May 12 '10 at 20:26.

Will also match if the three zeros are not consecutive. This only matches as much as required (i.e. Up until the third zero).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions