RegEx to match full string

Use the end of line anchor $:

^abc/$

This ensures that the exact string abc/ will be matched.

Leave a Comment