Resource icon

Post Content Find / Replace 1.0.0

No permission to download
Here's an interesting issue.

Trying to replace

Code:
[quote name='UserName']

with

Code:
[quote="UserName"]

For quick find I have:

Code:
[ quote name

(without the space before the word quote

Regular Expression:

Code:
/\[quote name='(.+)']/siU

Replace:

Code:
[quote="$1"]

I check Save Changes and I get:

Error

Please enter a message with no more than 5 images.
 
Maybe a longshot, however does anyone know if this is possible??

I have a thread which, for arguements same, contains this:

>it's not what you do
>it's the way that you do it
>thats what gets results

and i'd like to be able to convert it to:

it's not what you do
it's the way that you do it
thats what gets results

Probably not, however it would be nice :)
 
Maybe a longshot, however does anyone know if this is possible??

I have a thread which, for arguements same, contains this:

>it's not what you do
>it's the way that you do it
>thats what gets results

and i'd like to be able to convert it to:

Probably not, however it would be nice :)
I guess that one would be difficult, since replacing > with nothing will probably result in unwanted changes elsewhere.
 
I also imported from phpBB3 to vB to XenForo.

I had to run about 100 replacement codes to remove the random hex strings which are appended by phpBB3 on all BB code.
 
I'm having some trouble with this. Recently ported from IPB where the media tags were as follows:​

Code:
[media]http://www.youtube.com/watch?v=2LtBSqGzi3o[/media]

Here's my settings:
pOuLo.png

Tested the regex and it appears to work fine, but when I hit proceed nothing happens. All that happens is "Save Changes" becomes unchecked, like the tool is just refreshing the page.​

Any ideas / insight? I'd appreciate it greatly. Thanks.​

Just did a new Xen install (had to switch webservers) and decided to try this post replace again and I have the same issue still. The page seems to just refresh and no post data is changed. Any ideas?

Edit: I should note it appears to work for other, much more simple replacements:

ZrYxE.png


but I can't get it to do anything on that youtube one.
 
Without the data not really, but get it to regex the "[youtube:" then 8 more characters
anyone can help me? :(
Try
Code:
Match: \[youtube\:........\]http://www.youtube.com/watch\?v=
Replace: [media=youtube]
followed with
Code:
Match: \[\/youtube\:........\]
Replace: [/media]
 
Top Bottom