1. Once you have the character vector from the regex, see ?strsplit to get the strings on either side of the "->" . You may have to fiddle a bit if one or the other side is empty. You can then format the results as you like. 2. "Graphical representation similar to this" is too vague a specification to be meaningful. Cheers, Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
Regex Help
1 message · Bert Gunter