^(?:\S+\s+)?(?:(?:\[(WARNING|ERROR)\]|w:)\s+)([^\[\(]*):\s*[\[\(](\d+)[.,;]*\s?(\d+)?[\]\)]\s*:?(?:\[(\w+)\])?\s*(.*)
https://www.regexplanet.com/share/index.html?share=yyyydaffw6r