question on regex

what does the $ at the end of this expression mean?
/^\d{1,2}-\d{1,2}-\d{4}$/

I understand every thing else.
bhomassAsked:
Who is Participating?
 
for_yanConnect With a Mentor Commented:
^ at the begining means this should be the beginning of the String
and the same way $ means - that should be the end of the String
0
 
bhomassAuthor Commented:
ok, got you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.