regex - Regular expression to delete HTML strings -


I am trying to remove the part of a string that does not match my pattern. For example,

  & lt; SYNC start = 364 & gt; & Lt; P class = KRCC & gt; & Lt; Font color = lightpink & gt; ABCD  

I would like to delete

  & lt; P class = KRCC & gt; & Lt; Font color = light pin & gt;  

How do I do this?

Just match pattern 'and write that file or update the table of a database like this , You delete are left.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -