正则表达式从 '10px;> 中提取 1129 1129'
我想使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果它总是
10px;"> 1129
(或至少xxx> YYYY
其中 YYY 是你的号码),那么我想你的正则表达式将是(perl 格式):1129 将在
$1
希望有所帮助。如果不是,请提供更多有关您想要实现的目标以及您的意见的详细信息。
If its always
10px;"> 1129
(or at leastxxx> YYYY
where YYY is your number) then I suppose your regex would be (in perl format):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.