I would use the regex library:

           load'regex'
           '<span\sclass="Header2">(.*?)</span>' {:"1@:(rxmatches rxfrom ])
p
        +-------------+-------------+-------------+-------------+
        |core.contains|core.contains|core.contains|core.contains|
        +-------------+-------------+-------------+-------------+

(which relies on PCRE, so if you know Perl regexen, you know J's too).

-Dan
           


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to