【问题标题】:how to add whitespace before certain characters or words in google sheet [closed]如何在谷歌表格中的某些字符或单词之前添加空格[关闭]
【发布时间】:2021-08-16 06:24:44
【问题描述】:

我有一个谷歌表格,其中每个单元格中都有长文本字符串。

以下是文本字符串之一

VACANCY...Test Hotels is hiring for the below position.#Job_Title : Director of a Revenue/ Revenue Manager#Hotel_Name : Signature Hotel#Job_Location : Dubai#Nationality : Selective#Experience : Mandatory hotel experience#Salary_Range : Unspecified#Benefits : Unspecified- Candidate should be currently in UAE and has relevant UAE Hotel experience.Please specify “Applying Position” in the subject line.Email CV: test@test.com#jobseekers #vacancy #Dubai #jobs #recruiters #hotels #manager #revenue

我想在某些单词或字符之前添加空格,使其看起来整洁。例如,我想在“#”、“Salary”、“工作地点”等之前添加空格。

我能做到吗

【问题讨论】:

    标签: regex google-apps-script google-sheets conditional-formatting


    【解决方案1】:

    请注意,您必须转义任何元字符

    =REGEXREPLACE(A1,"(#|Salary|job location)"," $1")
    

    【讨论】:

      猜你喜欢
      • 2013-10-19
      • 2017-09-11
      • 2011-04-28
      • 1970-01-01
      • 1970-01-01
      • 2022-01-27
      • 1970-01-01
      • 1970-01-01
      • 2022-10-13
      相关资源
      最近更新 更多