301 redirect folder structure

Trying to redirect old article path structure to new one.
Basically simplifying by removing ‘/year/month’ from the path.
Have tried diiferent combos using the wildcard groups etc with no luck.

Old path: /articles/year/month/article-name
New path /articles/article-name

What patterns have you tried?

Old path: See pic below, the forum is messing up if i try to type this
Screenshot 2023-09-12 at 08.30.51

New path: /articles/%3

I believe this should work, let me know if it doesn’t.