I do a lot of php coding but one thing I have never gotten the hang of is regular expressions.
The problem I need a solution to should be easy for most of you who do understand how to code regular expressions.
I use an wysiwyg editor in my bb and it automatically changes addresses people type in to thier posts into links. I need to strip the links back out before saving the post. So I need the reg-exp string that would recognize the <a href='some address'> string and also the one that would recognize the </a> string and delete them leavng just the original address they typed in. That way the address is still there but is not an actual link. Any of you php guru types tell me what that reg-exp looks like?
Thanks!
Rod