it do it's job greate in my opinion, don't waste your time on others https://regex101.com/
/[[^][]*]/ for getting the data between [ ]