Please guide me about replace

I want to replace >AS
to bgcolor=“#DDD9C4”>AS

But I user html2.Replace(“>AS”,“bgcolor=”#DDD9C4">AS" ). It error.

Please guide me.

@fairymemay What’s the error?

Try like this
html2.Replace(“>AS”,“bgcolor=‘#DDD9C4’>AS" )

2 Likes