/^pattern

You can search for a string or pattern that only appears at the beginning of the line by beginning your search pattern with a ^
/^foo
will only match a foo at the beginning of the line.

/^}
will only match } at the beginning of the line.

Further Reading

:h pattern atoms :h ^

More Gifs