I have a console app which takes an input. The user inputs a text such as "It\'s better to be a \'<\'good man\'>\' rather than a \'"