Need help porting javascript regex replace statement to

I currently have this expression in a javascript method and need to port it over to

tmpMsg = rawNote.replaceAll("<!--(.|\s)*?-->","")

I guess this is essentially removing comment tags within a html string?

In any event, how do I do the same thing in
Who is Participating?
käµfm³d 👽Connect With a Mentor Commented:
That pattern will work fine in VB.NET.


Dim tmpMsg As String = System.Text.RegularExpressions.Regex.Replace(rawNote, "<!--(.|\s)*?-->","")

Open in new window

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.