Answer the question
In order to leave comments, you need to log in
How to remove characters between $ signs and characters themselves?
Hello.
How to cut from the string: "Two forces $F_{1} =3H$ and $F_{2} =4H$, applied to one point of the body. Angle between vectors $\vec{F}_{1} $ and $\vec {F}_{2} $is equal to $\pi /2$"
Characters $ and contents inside $
The result should be: "Two forces and, are applied to one point of the body. The angle between the vectors and is equal to"
PS Using preg_replace (or another function) in php
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question