I was wondering if there would be a way to use regex (since im thinking its needed) to match all words in a sentence let me show in detail (somewhat of a encoding string with matchtext)

Thejappleu98falls9nfjfar28nkjfromjskfthe87asftree.

The apple falls far from the tree.

Would there be a way that I have a large list of sentences that should match that in text format is there a way to kind of loop through a text file using regex to see which of the strings match perfectly word for word in the encoded message?

like

Alias loopct {
var %x = 1
while (%x <= $lines(strGet.txt)) {
if ($regex($read(strget.txt,%x)blahblahblah == 1 or blah blah) { REMOVE data that's incorrect and replace with correct data store it to global variable }
inc %x
}
}

So basically I need to call back at anytime I need it the string it found in the strget.txt file, so something like $regml would have to return me the match it found so i can use it later in the script.



Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }