Use the dollar sign to match the preceding, adjacent characters at the end of a string.

For example, \`end$\` matches the following:
- Temporarily susp**end**
- We're going off the deep **end**
- Match the characters that prep**end**

However, \`end$\` doesn't match the following:
- Temporarily suspend.
- We're going off the deep end.
- Match the characters that prepend.

The preceding three lines all end with **nd.** rather than the **end** characters that you're matching with the regular expression.

Use this type of regular expression to create segments, filters, or goal steps that match a URI. For example, if you're testing the efficacy of a new HTM version of a page versus an older HTML version, you can identify the versions separately by using regular expressions such as the following:

- email-signup\\.htm$
- email-signup\\.html$

Use [the backslash](https://docs.cloud.google.com/data-studio/regex-example-dot-backslash) to escape the dot and ensure that it is interpreted literally.