列表的正则表达式 [英] regular expression for list

查看:111
本文介绍了列表的正则表达式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要一个常规的xpression作为声明列表,假设

我有以下编号声明列表



1。 helllo这是第一句话。

2。你好,这是第二个。这是第二个。

3。你好,这是第三个。

4。你好,这是最后的第四个。



所以需要有正则表达式来检测点。在句子之间

解决方案

尝试:

 ^。+ \ .. + 



I want a regular xpression for list of statement as suppose
i have following list of statement in numbering

1 . helllo this is first sentence.
2 . hello this is second one . here it is in the second one.
3 . hello this is third one .
4 . hello this is the forth nd last.

so need to have regular expression for the same it detect the dot . between sentence

解决方案

Try:

^.+\..+



这篇关于列表的正则表达式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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