Was this helpful?
$
The dollar sign ( $ ) is a metacharacter that is used in regular expressions. It matches the end of a line or string.
Example
/Total$/
will match the string "Total" at the end of a line.
/^[0-9]+$/
will match any input line that consists of only digits. For information on how they participated in this regular expression, see the ^ [ ] and + metacharacters.
Last modified date: 02/01/2024