I need to replace a block with multiple lines of code.I used this to convert a whole bunch of vBulletin youtube tags to XF media tags.
I think you can do it with this regex:
To be clear, do all these posts have this code inside code bbcode blocks?I need to replace a block with multiple lines of code.
Is it possible to do that with this addon.
Yes, easily. Last post ID is upward of 1.9 million. And my members love to fiddle around. Especially female members with pink text in pretty fonts.Something's wrong here. How many posts total do you have? Could there really be that many posts with font tags?
mhm. I keep getting time outs as there are 13k results. So I will need to split it up. Attached are the font codes I have.
With the previous replacement I got the error that I needed to fill in a replacement text. But I just want to remove it. Is there anything I can fill in the replacement field to avoid that?
You can break the job up using more precise matching.
#(\[img]https://www\.my\-forum\.com)/forum/attachment\.php\?attachmentid=([0-9]+)&d=([0-9]+)(\[/i m g])#siu
[IMG]https://www.my-forum.com/forum/attachment.php?attachmentid=123&d=222[/img]
We use essential cookies to make this site work, and optional cookies to enhance your experience.