【问题标题】:Detect the uppercase with Regex Yahoo Pipes使用 Regex Yahoo Pipes 检测大写
【发布时间】:2014-02-08 17:50:01
【问题描述】:

我在使用正则表达式时遇到问题。我想检测大写并在前面放一个#。并删除空格...

示例:Chris Pratt talks Jurassic World

#ChrisPratt talks #JurassicWorld

有什么想法吗?

【问题讨论】:

    标签: regex pipe yahoo


    【解决方案1】:

    查找由空格分隔的两个连续大写单词的正则表达式为:

    /([A-Z][a-z]*)\s([A-Z][a-z]*)/g
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多