Last updated on:May 27th, 2018,

Regular expression for the language of even length strings starting with a and ending with b in theory of automata

Regular expression for the language of even length strings starting with a and ending with b

Accepted Strings: 

All strings of the following pattern should be accepted by RE.

ab, aab, abb,abab,……

Reject strings:

All strings of the following pattern should be rejected by RE.

a, b, ba, aa, bb, ba,bba,……

R.E = a (aa+bb+ab+ba)* b

Topic Covered: 

Regular expression for the language of even length strings starting with a and ending with b in theory of automata.
  List of All Regular Expression examples : Click Here 
.

0Shares

Leave a Reply

Your email address will not be published.