You want to remove the whitespaces at the end of the rows in your code?
Push CMD+SHIFT+F to open global search, select from the Icon “Show find options” and select “Regular Expression“:
[ \t]+$
Here the result:
![](https://i0.wp.com/www.albertopasca.it/whiletrue/wp-content/uploads/2021/11/xcode-trailing.png?resize=261%2C492&ssl=1)
enjoy cleaning!
You want to remove the whitespaces at the end of the rows in your code?
Push CMD+SHIFT+F to open global search, select from the Icon “Show find options” and select “Regular Expression“:
[ \t]+$
Here the result:
enjoy cleaning!