HUGO
Removing white space from a string
support
ricardoom
February 24, 2019, 4:00pm
2
Just used a regular expression…
{{ replaceRE "(\\s)" "" .Title }}
7 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
How to remove whitespace in my shortcode
support
shortcodes
9
70
January 27, 2025
A white space disappearing, despite no {{-
support
7
290
June 27, 2023
Allowing strings as attribute while preventing malignous strings
support
2
314
February 5, 2019
Unexpected issue with humanize and whitespace
support
3
48
September 6, 2024
Remove empty <p>'s from Content
support
11
1013
January 17, 2023