Hi everyone
I havn't worked with regular expressions and (eregi_replace) so much and now I need to replace a string with another string which is not always the same.
Here is the issue:
I have a normal HTML code which is imported from a flash file. I need to change size in FONT tags with a style
for example :
should be changed to:
but the problem is that font size is not allways the same. It could be any other number instead of 12.
Thnaks
I havn't worked with regular expressions and (eregi_replace) so much and now I need to replace a string with another string which is not always the same.
Here is the issue:
I have a normal HTML code which is imported from a flash file. I need to change size in FONT tags with a style
for example :
Code:
<font size="12">Here comes some text</font>
Code:
<font style="font-size:12px">Here comes some text</font>
Thnaks
Comment