This guide contains the standard Regex patterns and steps to clean up transcripts generated by Antigravity AI for better readability.
Use these patterns to remove internal file referencing and CCI markers.
- Pattern:
\(file:.*?\) \*
Action: Replace with empty string. - Pattern:
\(cci:.*?\)
Action: Replace with empty string.
These lines are generated during the AI's processing phase and can be safely deleted.
*Edited relevant file**Checked command status*
To remove excessive empty lines created after stripping the metadata:
- Find (Regex):
^(\s*)\n - Action: Replace with empty string (or a single newline to maintain spacing).
| Step | Regex Pattern | Purpose |
|---|---|---|
| Files | \(file:.*?\) \* |
Removes file path markers |
| CCI | \(cci:.*?\) |
Removes internal tags |
| Lines | \*Edited relevant file\* |
Removes status updates |
| Lines | \*Checked command status\* |
Removes status updates |
| Breaks | ^(\s*)\n |
Collapses multi-line breaks |