Consider the following markup
<p align=center width='100' height=\"200\" attr=test>aasasd</p>
In order to make this markup valid i want to wrap quotes where they are required.
From the above exmaple i want to apply quotes so the markup will be:
<p align="center" width='100' height="200" attr="test">aasasd</p>
Does anyone know any regex patterns for this purpose?
Im using C#.
EDIT: Looks like i might have to do this another way. Can someone provide me with a Regular Expression to match these values:
align=center
attr=test
Thanks