Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您好我正在尝试将日期 YYYY-MM-DD 的格式拆分为雅虎管道中的单独变量。
我可以让正则表达式在一年中工作,但我在努力获得月份和日期。
我一年的正则表达式:
(?<=\d{4}).*
雅虎管道使用我认为的替换正则表达式,所以我需要选择年(跳过)日来获取月份。任何帮助,将不胜感激。
正则表达式(\d{4})-(\d{2})-(\d{2})匹配并捕获日期的元素。我不确定您将如何在 Yahoo Pipes 中使用它,因为我自己从未使用过它,但正则表达式应该可以帮助您。
(\d{4})-(\d{2})-(\d{2})
(?<=\-).*(?=\-)仅匹配月份。
(?<=\-).*(?=\-)
Possible Duplicate: 3 sql-server-2008 - 我正在尝试使用 SQL Server 2008 中的日期从表中选择所有值