Wouldn't str_replace('rel="nofollow"', '', $href_from_twitter) work
just as well?Dewald On Aug 22, 1:54 am, Gonzalo Larralde <[email protected]> wrote: > On Sat, Aug 22, 2009 at 1:17 AM, TCI <[email protected]> wrote: > > > Recently you added nofollow's, and now you moved the nofollow after > > the href. Some of us filter these out and you changing them is only > > making it more complicated. Please make up your mind and stop changing > > these... > > > <a href="http://fun140.com/">Fun140</a> > > > <a rel="nofollow" href="http://fun140.com/">Fun140</a> > > > <a href="http://fun140.com/" rel="nofollow">Fun140</a> > > Or, maybe, you can try using this regex: > > /<a.*? href="(.*?)".*?>(.*?)<\/a>/ > > and let them do whatever they want. > -- > Gonzalo. > > PS: My english sucks, sorry about that.
