My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

What is the Regex for {n} Spaces to 1 Tab?

J03's photo
J03
·Jun 30, 2017

Please help. I'm at my wits end as both Google and Bing are trolling me by returning results for converting tabs into spaces, but I want to convert spaces into tabs.

My regex-fu in this regard is weak at the moment.