如何提取两个单词之间的数字? [英] How to extract number between two words?

查看:64
本文介绍了如何提取两个单词之间的数字?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在尝试提取两个单词之间的数字。

以下是使用但未获得任何输出的代码。

你能不能帮我拿出输出。

Hi There,
I am trying to extract the number between two words.
Below is the code which am using but not getting any output.
Could you please help me to get the output.

展开 | 选择 | Wrap | 行号

推荐答案

您在代码中引用了


1,但实际上您应该引用
1 in your code, but you should actually be referencing


2。尝试更改它,看看是否打印出你想要的东西。
2. Try changing it and see if that prints what you want.


这篇关于如何提取两个单词之间的数字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆