@AlexB, @Promultis, @bomee.lafitte: I think we should start a dedicated thread in the Tips - Best Practices section
@Alex: I hate regexp (coz I’m also bad at writing them) but they’re indeed the most powerful ones for such cases.
[EDIT]: Here’s the new thread to talk about the Custom Script