Remove Space and Remove Empty New Line on VSCode with Regex

Photo by Joan Gamell on Unsplash

Remove space

  1. Cmd+F / Ctrl + F
  2. type \n in Find input
  3. leave Replace blank
  4. click replace one by one / replace all

Remove empty new line

  1. Cmd+F / Ctrl + F
  2. type ^\n in Find input
  3. leave Replace blank
  4. click replace one by one / replace all

--

--

--

#CreativeCoding #Art #PhysicalComputing #IoT #MachineLearning #python #creativetech

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Understanding the Iterator Pattern in JavaScript and Typescript using Symbol.Iterator

#1 - Introducing NestJS

Real integration tests with React, Redux and Router

Asynchronous JavaScript: Advanced Promises with Node.js

React Native Facebook Login

Rules of change detections in angular

OJS Hosting — What are the best options?

JavaScript — what is it? (v1)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
koji

koji

#CreativeCoding #Art #PhysicalComputing #IoT #MachineLearning #python #creativetech

More from Medium

How to create your own Vscode theme

What happens when you type https://www.google.com in your browser and press Enter

Chrome Extension For Web Developers

How To Display Code Snippets in HTML with Color?