All my articles are taken randomly from a folder by Zennoposter to post on various different web 2.0 sites.
They are all in this format: <p>content</p>
However now I want to post some of these on wiki sites where <p></p> is not supported. Instead they use [[div]][[/div]]
So once Zenno has pulled a random article I want to parse it with a regular expression and change all the <p></p> to [[div]][[/div]] before it posts it.
Is this possible and if so can someone give me the regex for this??
Thank you!
They are all in this format: <p>content</p>
However now I want to post some of these on wiki sites where <p></p> is not supported. Instead they use [[div]][[/div]]
So once Zenno has pulled a random article I want to parse it with a regular expression and change all the <p></p> to [[div]][[/div]] before it posts it.
Is this possible and if so can someone give me the regex for this??
Thank you!