I want to remove multiple hashtags from the beginning of a paragraph.
#abc #def This is a test paragraph. #ads I only want to remove the first hashtags and keep the rest.
How should I remove the hashtags at the beginning of the paragraph?
I'm using a no-code platform to work. So there are limitations for me to write code. But I'm using the replaceRegex function for doing this. The platform works on javascript.
What I have
var.a = "#abc #def This is a test paragraph. #ads I only want to remove the hashtags at the beginning and keep the hashtag at the center.
Function
{{replaceRegex var.a '/(?<! \w\s+)(#[a-zA-Z]+ *)/g' " "}}
Actual Result
This is a test paragraph. I only want to remove the hashtags at the beginning and keep the hashtag at the center.
Expected Result
This is a test paragraph. #ads I only want to remove the hashtags at the beginning and keep the hashtag at the center.