fe.settings:getUserBoardSettings - non array given[operate] - Endchan Magrathea
Hello.
We need to break spy Youtube links with "?si=" tags. This links track the users.
I try to break this links via regular expressions, but regular expressions are eating space symbol " " at the edges of the word, when i try to configure it.
 
For example, source link looks like  >>/polru/366670/
https://www.youtube.com/watch?v=uU-zrcBuX2E?si=TNtm4YLcBZ7p672v
And this link should look like this: 
https://youtube.com/watch?v=uU-zrcBuX2E ?si=TNtm4YLcBZ7p672v

Can you solve the problem with spaces at the edge of the word in regular expressions?

I can add "/" at the end of the video code, but then video can't attach as media frame. In this case link will look like this:
https://www.youtube.com/watch?v=uU-zrcBuX2E/ ?si=TNtm4YLcBZ7p672v