Remove www from subdomains

Page rule not working to remove www from subdomains, example subdomain https://www.subdomain.wynikilotowe.pl

Rule:
www..wynikilotowe.pl/ Forwarding URL (Status Code: 301 - Permanent Redirect, Url: https://$1.wynikilotowe.pl/$2) How to fix it?

Thank you in advance.

A post was merged into an existing topic: Remove www from subdomains