To find (or delete) everything after ']' charachter use following Regular expression:

\].*