Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Considering we have:
in = "F 18/10"
How can I make this to be:
d1 : DigitCharacter .. ~~ "/" ~~ d2 : DigitCharacter .. :>
"\!\(\*FractionBox[\(" ~~ d1 ~~ "\), \(" ~~ d2 ~~ "\)]\)"]
Required, but never shown