matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2016
09:40 PM
Re: function to extract text from a pile of returned text
not needed
matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2016
06:35 AM
Re: function to extract text from a pile of returned text
not needed
matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2016
06:50 AM
Re: function to extract text from a pile of returned text
not needed
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2016
08:28 AM
Re: function to extract text from a pile of returned text
The last regex I gave you will only return digits. If you're getting a quote character at the end, then you didn't cut and paste correctly.Double-check it's exactly what I suggested. If it still doesn't work then paste the exact code you're using and an exact data string you're passing that isn't working.
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2016
08:52 AM
Re: function to extract text from a pile of returned text
"matrixebiz" wrote:
I can't find good documentation on what all the "*,(.*)", "s")" does
You won't find any Roku-specific documentation regarding the syntax of regular expressions, as they are not a Roku-specific feature. Regular expressions are implemented in many languages on many platforms. The different implementations have much in common, so any resource on learning regular expressions in general can be helpful, as long as you are aware that Roku implements Perl-compatible regular expressions (PCRE).
They are, however, an advanced programming feature, albeit an extremely useful one, and as such the learning curve can be quite steep.
If you really want to learn regular expressions, you could:
read the documentation: https://www.amazon.com/Mastering-Regular-Expressions-Jeffrey-Friedl/dp/0596528124
take on online course: https://www.google.com/#q=how+to+learn+regular+expressions
matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2016
09:01 AM
Re: function to extract text from a pile of returned text
Corrected
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2016
09:06 AM
Re: function to extract text from a pile of returned text
Like I said, you didn't cut and paste the last suggestion I gave you. Try again. Post #9.
matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2016
09:20 AM
Re: function to extract text from a pile of returned text
not needed
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2016
09:39 AM
Re: function to extract text from a pile of returned text
I give up. You'll have to figure this out on your own.
You've posted neither the exact data string that you're trying to parse, nor the exact code you're using based on my last suggestion. If you can't follow simple instructions then no amount of help from others will do you any good.
You've posted neither the exact data string that you're trying to parse, nor the exact code you're using based on my last suggestion. If you can't follow simple instructions then no amount of help from others will do you any good.
matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2016
09:54 AM
Re: function to extract text from a pile of returned text
"belltown" wrote:
I give up. You'll have to figure this out on your own.
You've posted neither the exact data string that you're trying to parse, nor the exact code you're using based on my last suggestion. If you can't follow simple instructions then no amount of help from others will do you any good.
Ok, thanks anyway, the data string I sent you in a PM and the code in your last suggestion returned a 0 so maybe I'm just not understanding what you need. Sorry about that. i'll just be up all night again trying to get rid of that " 😞 Oh, well at least you got me in the right direction.