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# - PInvoke of NetUserAdd returns 24 -

NHibernate Passing Session to the Repository -

objective c - Mouse events for an NSSegmentedCell subclass? -