Search and replace text in docs file

Is it possible to search and replace the first item found, just keep in mind that only the first item found will be replace. I’ve tried this one SearchAndReplace | ONLYOFFICE but it will replace all the items found that is not match my target.