imitating vB code

dk01's picture

He has: 516 posts

Joined: Mar 2002

Does anyone have an example of the kind of thing that vb code does in forums like this. ie. Changes all instances of [ url=http://mypage.com] into < a href="http://mypage.com" >
I know it uses regular expressions and have done it in ASP using StrReplace but don't want to code it all in php if someone already has it. Thanks,
-dk

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.