问题描述
我想阅读&使用java中的正则表达式验证文本文件中的元素元素是字符或数字或罗马数字或上部字母或下部字母。
i想要解决此问题
我尝试过的事情:
i想要阅读&使用java中的正则表达式验证文本文件中的元素元素是字符或数字或罗马数字或上部字母或下部字母。
i想要解决此问题
i want read & validate elements in text file using regular expression in java wheather element is character or numeric or roman number or upper alphabet or lower alphabet .
i want solution for this
What I have tried:
i want read & validate elements in text file using regular expression in java wheather element is character or numeric or roman number or upper alphabet or lower alphabet .
i want solution for this
推荐答案
wheather元素是字符或数字或罗马数字或上部字母或下部字母。
wheather element is character or numeric or roman number or upper alphabet or lower alphabet .
罗马数字是字符。它们也是大写或小写字符。
那么它们应该进入哪个类别?
Roman numbers are characters. They are also upper or lower case characters.
So which category should they go in?
mic
dim
vim
他们是罗马数字还是单词?
您需要更仔细地查看您要处理的文件,并且可能以一种非常智能的方式进行,而不仅仅是扔一个正则表达式!
Are they roman numbers, or words?
You need to look more closely at the files you are trying to process,and probably do itin a ore intelligent fashion than just throwing a regex at it!
这篇关于我想阅读&使用java中的正则表达式验证文本文件中的元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!