Mysqli prepare error: MySQL server has gone away
[IMG]http://graemlins/thumbup.gif[/IMG]
I need more information than that buddy, optimally I need enough examples in that code box so that I can derive some sort of pattern as to what you want removed or modified or whatever...EQnoble
I'm stuck with these:
Code:[IMG]http://graemlins/thumbup.gif[/IMG]
I have about 5000 broken. How do I get rid of these?
http://recording.org/index.php?threads/more-g9-troubleshooting.44504/#post-343436
http://recording.org/index.php?threads/motown-influences.4165/#post-32544
.
I need more information than that buddy, optimally I need enough examples in that code box so that I can derive some sort of pattern as to what you want removed or modified or whatever...
Do you want all gifs removed, only gifs from certain sites...one site, any kind of image from graemlins....its a lot for me to guess from and then write up an expression hoping it covers you without scratching up all your vinyl.
For right now...I need sleep....it's been a long day.
[IMG]http://graemlins/beerchug.gif[/IMG]
[IMG]http://graemlins/wave.gif[/IMG]
[IMG]http://graemlins/thumbup.gif[/IMG]
[IMG]http://graemlins/silly.gif[/IMG]
[IMG]http://graemlins/duh.gif[/IMG]
[IMG]http://graemlins/peace.gif[/IMG]
[IMG]http://tongue.gif[/IMG]
[IMG]http://smile.gif[/IMG]
graemlins
#\[IMG]http://graemlins/(?:[^\.]+)\.gif\[/IMG]#siu
Quick Find:
Regular expression:Code:graemlins
Replacement String:Code:#\[IMG]http://graemlins/(?:[^\.]+)\.gif\[/IMG]#siu
Code:
For the other two at the end, they look weird and without knowing what else on your board may have a url that is just a filename.extension I don't want to give you an expression that can remove things you didn't intend to.
Quick Find:
Regular expression:Code:graemlins
Replacement String:Code:#\[IMG]http://graemlins/(?:[^\.]+)\.gif\[/IMG]#siu
Code:
For the other two at the end, they look weird and without knowing what else on your board may have a url that is just a filename.extension I don't want to give you an expression that can remove things you didn't intend to.
http://
It could not be matching for many reasons one of which is what you posted up for me to match may not be what you see when using the bbcode editor view when clicking edit on a post, another is you are trying match things which can not be accounted for by what you originally requested.EQnoble,
Why do you think the regex won't resolvebefore graemlin/ ?Code:http://
It could not be matching for many reasons one of which is what you posted up for me to match may not be what you see when using the bbcode editor view when clicking edit on a post, another is you are trying match things which can not be accounted for by what you originally requested.
As far as your original request...if what you supplied in your example is what you are trying to replace than that expression will catch it....
(I am thinking that what you posted as an example is not what you are trying to change, click edit on one of the posts containing that string and then hit the button that looks like a wrench on a piece of paper on the right hand side of the editor)
View attachment 70677
A general message to everyone:
If you don't really understand regex at least in basic form you should not be modifying other's expressions...like as a rule of thumb if you cant read the expression and understand what it is saying and like in @audiokid 's case finds 7000 results you should just not do anything with it because unless you are going to check all 7000 replacements before saving changes you really don't know what your expression is matching and therefor what you will end up with...and to that you could end up ruining half of your posts table.
Hi @EQnoble ,
I need to change a set url on the site to another however I also need to replace the subfolders for example I need:
www.X.com/community/attachments/ks4cit01-pdf.66543/
to become
www.Y.com/attachments/ks4cit01-pdf.66543/
How do I complete this with the addon?
I've tried to do it but get either a Fatal error: Allowed memory size of 67108864 bytes exhausted
or
Server Error
preg_match_all(): No ending matching delimiter ']' found
Thanks
- XenForo_Application::handlePhpError()
- preg_match_all() in PostReplace/ControllerAdmin/PostReplace.php at line 26
- PostReplace_ControllerAdmin_PostReplace->actionReplace() in XenForo/FrontController.php at line 347
- XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
- XenForo_FrontController->run() in /home/carpedie/public_html/admin.php at line 13
We use essential cookies to make this site work, and optional cookies to enhance your experience.