regex end of string javascript 25 Regex End Of String Javascript $ is used to match the end of the string. and can be used like "string"$ like xyz$ if you want to end with xzy ..… Written By Trenton V. Williamson Friday, December 20, 2019 Add Comment Edit