# Use of regex in sublime text 3, Tex to Html

In a job that I am doing, you must do tasks in a repetitive way by migrating articles in latex to html. I can not make substitutions using regex to replace command like

\textit{text}


to

<i> text </i>.

• Welcome to TeX.SX! – Bobyandbob Jul 12 '18 at 15:51
• Have you considered using pandoc? That software can output html code given tex code in input. It is simple to use, and extremely efficient. – Clément Jul 13 '18 at 16:25

\\textit\{(.+?)\}