Xcode 14.2 Find and Replace in Project not working

The find and replace in project is not working for me in Xcode 14.2 on Ventura 13.2. When I enter the find text as well as the replace text the "Replace" and "Replace All" buttons remained grayed out.

Is this a bug with Xcode or am I missing something?

Please advise.