Character.AI & Poe Roleplay Action Asterisk Cleaner
Strip *actions*, narration brackets, and stage directions from AI roleplay chatbot conversations.
const cleaned = text.replace(/\*[^*\n]+\*\s*/g, '');
$...$), Markdown data tables, and ISO-8601 timestamps are strictly preserved.
Deterministic Sanitization Specification & Live Diff
*He leans back against the wooden chair and smiles faintly.* "I've been expecting you for quite some time," *he murmurs quietly.*"I've been expecting you for quite some time,"How to Clean Character.AI & Poe Roleplay Action Asterisk Cleaner Online
ClipNText Character.AI & Poe Roleplay Action Asterisk Cleaner is a client-side text sanitizer that strips Roleplay Action Descriptors & Stage Directions, orphaned delimiters, and syntax clutter from ai. Executing locally via asynchronous browser Web Workers (scrub.worker.js), the utility processes multi-megabyte payloads in under 15 ms without transmitting sensitive prompt data to external servers. Sanitizing formatting noise reduces downstream API context window consumption by 18% to 52% while preserving code blocks, citations, and table structures for clean documentation or RAG ingestion.
| Target Artifact | Regex / Pattern Signature | Sanitization Behavior |
|---|---|---|
*He leans back against the wooden chair and s |
/\*[^*\n]+\*\s*/g |
Roleplay chatbots wrap non-verbal actions and physical movements inside asterisks (*smiles softly*) interleaved with spoken quotes. |
"I've been expecting you for quite some |
/[ \t]{2,}|\u200B/g |
Collapses redundant whitespace and purges invisible zero-width tokens. |
Roleplay Action Descriptors & Stage Directions
Roleplay chatbots wrap non-verbal actions and physical movements inside asterisks (*smiles softly*) interleaved with spoken quotes.
/\*[^*\n]+\*\s*/g
Technical Edge-Case FAQ
Common engineering questions regarding character preservation, encoding boundaries, and browser worker performance: