I’m new to regular expressions so forgive me if this is really basic. I have a string like: something "some item" something "another item"and an expression:".*". When I run it I get "some item" something "another item" but really all I want it "another item". Is it possible to modify the expression to do that? It’s going to be used via RegExKit.
Thanks
Based on the single example you’ve provided, this will work:
It matches everything between a pair of double quotes, including the quotes, at the end of the input.
In that case, the above does not necessarily do what you want. Try this:
See @mhyfrtiz’ answer for an explanation of the
.*part.