Help with Regular Expressions
This is my first post, so apologies if this is the wrong forum.
I am trying to learn Regular Expressions using the book written by Andrew Watt.
I can get the following expression to work:
ie find any line that starts with "43C" and 3 hex characters
regex_match(left(Varline,6),"43C[0-9a-f]{3}","I")
ie processing the first 6 characters of variable Varline
But when I try to get the expression look for any matches anywhere in Varline, it fails, this is what I coded?
regex_match(Varline,"43C[0-9a-f]{3}","i")
so I stuck, any help welcomed
--
Age is a question of mind over matter.
If you don't mind, it doesn't matter.
|