Like grep, sed supports a number of special metacharacters to control pattern searching. See Table 5.3.