> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.math_utils.remove_boxed

<code class="doc-symbol doc-symbol-heading doc-symbol-function" />

#### remove\_boxed

```python theme={null}
remove_boxed(string: str) -> str | None
```

Source: [https://github.com/hendrycks/math](https://github.com/hendrycks/math)
Extract the text within a \boxed`\{...}` environment.<br />Example:

```python theme={null}
> remove_boxed("\boxed\{\frac\{2}\{3}}")

\frac\{2}\{3}
```

<b>Parameters:</b>

| Name     | Description   |
| -------- | ------------- |
| `string` | **Type:** str |

<br />
