[Solved] What is the use of the “$” in regex pattern? [duplicate]


If you look at the documentation of Pattern

Boundary matchers

$ The end of a line

solved What is the use of the “$” in regex pattern? [duplicate]