Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(\d+(?:\.\d+)?)(?![\d.])(?!pt)(?<!#[0-9a-f-A-F]{6})
/
g
Input 1
New
\documentclass[16.5pt]{article}\begin{document}$$\textcolor{#000000}{\textbf{Solver :} \quad \textcolor{#0000FF}{CR} = F \textnormal{(} \textcolor{#FF8C00}{H_i}, \textcolor{#008000}{W} \textnormal{)} \quad \Longrightarrow \quad ∃ \textcolor{#FF8C00}{H_i} \space ∋ \space \textcolor{#0000FF}{4A+0.031De^1.63} = \textcolor{#000000}{{CR}_0}}$$\end{document}
Extraction
\documentclass[16.5pt]{article}\begin{document}$$\textcolor{#000000}{\textbf{Solver :} \quad \textcolor{#0000FF}{CR} = F \textnormal{(} \textcolor{#FF8C00}{H_i}, \textcolor{#008000}{W} \textnormal{)} \quad \Longrightarrow \quad ∃ \textcolor{#FF8C00}{H_i} \space ∋ \space \textcolor{#0000FF}{4A+0.031De^1.63} = \textcolor{#000000}{{CR}_0}}$$\end{document}