To match the exact line “Mountain” use this: /^Mountain$/
You haven’t mentioned what language you’re working in, so the exact form of the pattern might have to change.
To match the exact line “Mountain” use this: /^Mountain$/
You haven’t mentioned what language you’re working in, so the exact form of the pattern might have to change.