Reactjs – Transform text to html based on regex and show it in input or ContentEditable
I'm currently working on implementing a feature in my React.js project where I want to transform specific patterns from the text typed by user, like ($anyText), into a formatted structure like anyText. This will allow the entered text to be…