remove_boxed

remove_boxed(string: str) -> str | None
Source: https://github.com/hendrycks/math Extract the text within a \boxed\{...} environment.
Example:
> remove_boxed("\boxed\{\frac\{2}\{3}}")

\frac\{2}\{3}
Parameters:
NameDescription
stringType: str