Find and return all instances of random (unknown) strings RECURSIVELY via surrounding expressions (returning the entire expression is fine, I can strip the data):
The asterisk represents the random string that I am searching for, everything else is a constant expectation when searching the surrounding context.
Here are the expressions:
%26t=*&"; (* represents anything)
&n=*" (* represents anything)
<span>* / * / *</span> (HERE THE * represents any number)
<span>*</span> (HERE THE * represents a number larger than 100)
I want to search each line for each type of case, I think that'd be fastest instead of searching the whole page for one expression, then search it again for a second, instead, take it one at a time, but I'll take any form of a recursive search using regex for these patterns.
skip 20 lines of text
skip 30 lines of text
skip 50 lines of text searching until
<span>1 / 22 / 90</span>
Edit: assume the string in question is simply stored as a string variable in vb.net
dim str as string
str = wall of text
recursively search wall of text for expressions above.