Example 2

Given the following language:

We can use the regular expression:

We use the notation: Which we read as “the language of is ”, or “the language represented by is ”.

Example 3

Example 4

Example 5

Find the .

  1. Start by finding

  2. Find

  3. Find We can take any number (possibly none) of words from and concatenate them together.

Example 6

Find the .

  1. Find .
  2. Find .
  3. Find all words starting with or followed by a (possibly empty) word of s.

Example 7

Find the

All the strings that are either empty or start with some (possibly none) s followed by either an , or a followed by (possibly none) s.

For example, .