jit.str.regexp on atom tags
Max Patch
Copy patch and select New From Clipboard in Max.
hey, i am trying to extract phrases, words etc. sitting within atom feed tags. It seems that I can successfully get only one line at a time, not all matching lines. Let's say there is text "abcd" within and other text "bla bla" within other tags so I need jit.str.regexp to output them something like "abcd" "bla bla" not as the match "bla bla" only [jit.str.regexp @re (.*?)]...
I am totally new with regexp so my problem may even look funny :>
The [jit.str.tosymbol] is sending out all the contents of the tags from the downloaded page, it's just sending them out one by one as opposed to in a list. Hook a [print] up to the outlet to see. If you want to format them into a list then [zl group] is the way forwards.
lh