I am not sure if this is exactly possible. Consider this example set of data:
Mountain Big mountain Mountain of stone A mountain on a hill
To match the exact line "Mountain" use this: /^Mountain$/
/^Mountain$/
You haven't mentioned what language you're working in, so the exact form of the pattern might have to change.