I'm storing html in a database field. Users can edit the html, and see a the first part of the document in a preview box.
If users use a large font size (60 & above) if distoys the preview. How would I remove the users font size, and replace it with a default on, for the purpose of preview.
I cant use Replace in the SQL, as I'd need one for every font size. What I want to do is replace any font-size tag with font-size = "12px".
Could I use a regular expression for this? I do have access to the item databound event in the aspx page.
If so what would the expression lok like?