[a-zA-Z0-9]+$
I want to know what is the use of $
in regular expression generally.
I searched in net and got matches at the end of the string
but didn't understand practically.
[a-zA-Z0-9]+$
I want to know what is the use of $
in regular expression generally.
I searched in net and got matches at the end of the string
but didn't understand practically.
Your quote is pretty clear, once you've understood. It means that the string that you are looking for, must end with the content of the regular expression.
In this case, the string must end like that ˋ[a-zA-Z0-9]ˋ