$L = \{w \in \{a, b, c\}^*\mid w\text{ contains at least one }a\text{ and at least one }b\}$.
what's the proper regular expression for the following language?
$L = \{w \in \{a, b, c\}^*\mid w\text{ contains at least one }a\text{ and at least one }b\}$.
what's the proper regular expression for the following language?
The DFA of this language can be easily written.
Apply state removal method to this machine, then you can receive a regular expression.
Reference to state removal method: How to convert finite automata to regular expressions?