标签: regex eclipse
我想匹配一个以h到t的字母开头的字词,以及ing或ed的字母learning。我试过了
h
t
ing
ed
learning
\\s[h-t]\\w+[ing[ed]]\\s
答案 0 :(得分:0)
这应该有效
^[h-t].*(ing|ed)$