I want to replace all
[img=URL]
with
<img src=URL>

Preg_replace should do it but i am not familiar how.
Any suggestions?

New question :
Hi there !
Because i didn't wanted to make a new post i will just edit this one.

How do i 'preg_match' starting from '=' and ending to '&'

example :: http://bkabkabk.com/index.php?file=aadasd.jpg&options
Porsche_maniak Reviewed by Porsche_maniak on . Preg Replace question I want to replace all with <img src=URL> Preg_replace should do it but i am not familiar how. Any suggestions? New question : Hi there ! Rating: 5