If you paste a regex into RegexBuddy, it will explain each portion of the regex. Clicking on parts of the regex will highlight its meaning.
https://www.regexbuddy.com/analyze.html
Or it has the best regex debugger I've ever seen in my 20 year career: https://www.regexbuddy.com/debug.html