Is there any way to check backtick (`) in text and replace it with <code>
in javascript.
For example:
var text = "Hello `@James P. Pauli`, How r you.";
Here it should detect the ` and should be replace with <code>
tag. Output should be this:
Hello <code>@James P. Pauli</code>, How r you.