正则表达式从 '10px;> 中提取 1129 1129'

发布于 2024-11-27 15:44:15 字数 174 浏览 4 评论 0原文

我想使用 Yahoo Pipes 正则表达式从 10px;"> 1129 中提取数字 1129

我使用 (\d+) 来提取 < code>1129 但我应该使用什么来删除 10px;">

I want to extract the number 1129 from 10px;"> 1129 using Yahoo pipes regex.

I am using (\d+) to extract 1129 but what should I use to remove 10px;">?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

旧伤还要旧人安 2024-12-04 15:44:15
In: item.content
Replace: ^10px;">\s(\d+)$
With: $1
In: item.content
Replace: ^10px;">\s(\d+)$
With: $1
究竟谁懂我的在乎 2024-12-04 15:44:15

如果它总是 10px;"> 1129 (或至少 xxx> YYYY 其中 YYY 是你的号码),那么我想你的正则表达式将是(perl 格式):

/>\s(\d+)/

1129 将在 $1

希望有所帮助。如果不是,请提供更多有关您想要实现的目标以及您的意见的详细信息。

If its always 10px;"> 1129 (or at least xxx> YYYY where YYY is your number) then I suppose your regex would be (in perl format):

/>\s(\d+)/

1129 will be in $1

Hope that helps. If no, please provide more details on what you are trying to achieve and what is your input.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文