I am splitting fields based on a ~, and need to find any strings that begin and end with quotation marks (ie. "disco"). My problem is I have strings that contain a ~, which breaks my split: "disco~tab". My initial thought was to use a conditional in the regex to find any string that begins with but does not end with a '"' and load it into $a1 and then find the next string which ends with a '"' and load it into $a2, and then concatenate the two strings. Now I find that there is no good way to do this with regex due to the lack of an AND conditional, so I'm kind of at a loss... Any help would be grateful!
In reply to RegEx Perl Newbie Question by discoTab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |