Hi all,
I have an string containing html in which I want to replace all width = "xx%" with a corresponding width = "yypx" (pixels).
So that width = "100%" becomes width = "800px", width = "75%" becomes width = "600px" etc.
How can I achieve this with RegEx? Could you please also post the pattern that I need to use.
(Regex is not my cup of tea....really )
Thanks.
I have an string containing html in which I want to replace all width = "xx%" with a corresponding width = "yypx" (pixels).
So that width = "100%" becomes width = "800px", width = "75%" becomes width = "600px" etc.
How can I achieve this with RegEx? Could you please also post the pattern that I need to use.
(Regex is not my cup of tea....really )
Thanks.