I've got an xml file that was exported from WordPress. I want to find the Post item types and copy them to another file. I also want to change the posts to products.
I think I'm looking for a multi-line block of text that starts with *<item>*and contains *<wp:status>publish</wp:status>* and contains * <wp:post_type>post</wp:post_type>* and ends with *</item>* I'm OK with using Automator, but I'd like to get more comfortable with grep (novice) since it is clearly so powerful. a single search result could be 150 lines. If there is a way to find this with a grep expression, what would I write? -- -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
