Here's a bit of the string I'm working with. It's a huge chunk of characters on a single line.
Code: Select all
{"__ref":"UmF0aW5nLTI0NzIyODY4"}},"UmF0aW5nLTI0NzIyODY4":{"__id":"UmF0aW5nLTI0NzIyODY4","__typename":"Rating","comment":"HORRIBLE PROF the lectures arent testable material at all and the TAs are hard markers ","flagStatus":"UNFLAGGED","createdByUser":false,"teacherNote":null,"legacyId":24722868,"date":"2015-05-02 18:09:13 +0000 UTC","class":"3DD3","helpfulRating":1,"clarityRating":1,"isForOnlineClass":false,"difficultyRating":5,"attendanceMandatory":"","wouldTakeAgain":null,"grade":"","textbookUse":1,"isForCredit":true,"ratingTags":"","id":"UmF0aW5nLTI0NzIyODY4","adminReviewedAt":"2015-05-05 22:13:59 +0000 UTC","thumbsUpTotal":0,"thumbsDownTotal":1,"thumbs":{"__refs":["VGh1bWItMjI2OTkwOA=="]}},"VGh1bWItMjI2OTkwOA==":
Code: Select all
\"Rating\".*?ratingTags
When I put it into RegexMatch using this expression:
Code: Select all
match := RegexMatch(e, """Rating"".*?ratingTags", ratings)
msgbox % ratings.Length()
Please, any help would be appreciated.
[Mod action: Moved topic to the v1 section since this is v1 code. The main section is for v2.]