我对正则表达式还不熟悉,如果这很基础,请原谅。我有一个字符串:
something "some item" something "another item"
和一个表达式:".*"
。当我运行它时,我得到的是"some item" something "another item"
,但实际上我只想要"another item"
。是否可以修改表达式来实现这一点?它将通过RegExKit使用。