> ## Documentation Index
> Fetch the complete documentation index at: https://arka-agent-mintlify-f21cea86.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Inspect and remove text

> Inspect exact text matches before editing a file.

Use Arka to inspect exact text matches before editing a file:

```bash theme={null}
arka text inspect README.md "old phrase"
arka text remove README.md "old phrase" --yes
arka text remove README.md "old phrase" --all --yes
```

Removal creates a `.bak` backup by default. Without `--yes`, Arka only previews
the match count and makes no changes. Natural language requests such as
“inspect the text `old phrase` in README.md” are routed when the file and text
are quoted clearly.


## Related topics

- [Bounded data collection](/guides/data-collection.md)
- [Prompt optimization](/guides/prompt-optimization.md)
- [AI agent guide — use Arka over MCP](/guides/ai-agents.md)
- [MCP integration for Cursor and Claude](/guides/mcp.md)
- [Hardware-aware model selection](/guides/select-model.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.