I have the following regular expression for the set of all strings such that each block of five consecutive symbols contains exactly two 0's (consider the alphabet to be {0, 1}):
(0+1+ϵ)4+(11100+ϵ)r(0011100r)*(00111+ϵ)
r=11+(110+ϵ)s(0110s)*(011+ϵ)
s=(0+10)*(1+ϵ)
How should I convert this into an NFA? Please explain the steps behind it as well!