Wednesday, September 1, 2010

RegEx help

The string is (including double quotes) - "John Travolta" Samuel
Jackson

I want RegEx that searches the above string and treats John Travolta
(between quotes) as one string and Samuel & Jackson as the other 2
string.

Thus,
String 1 = John Travolta
String 2 = Samuel
String 3 = Jackson

Actually, I have to use the RegEx in a function where "space" is a
delimiter and splits a string into sub-strings

TIA
Kunal

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: