Quantcast
Channel: Extract plain-text xhtml data in php (regex)? - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by Poiz for Extract plain-text xhtml data in php (regex)?

Perhaps you may want to do this in a twisted & convoluted fashion (ie. within a function that uses Regex and a Looping Construct to fetch the data you need). Consider this Function below. It is...

View Article


Answer by SomeDude for Extract plain-text xhtml data in php (regex)?

I think this regex will work :@class:\s*rtm_due\nspan:\s*\[{.*}, {'#text':\s*(.*),\s*'@class':\s*'rtm_due_value'}]Demo herebut for only due dateIf you want location you need to chagne regex to...

View Article

Extract plain-text xhtml data in php (regex)?

I was automating remember the milk tasks with zapier which trigger if anything changes in atom feed. The problem is zapier sends xhtml formatted data in plain text which I am catching using...

View Article
Browsing latest articles
Browse All 3 View Live