read about the RegExp.Multiline property
>Ok, I have another little niggling one that tripped me up (thanks to Sergey for straightening me out). The help for regular expressions in VFP8 Beta, for 2 of the symbols ('^' and '$') says:
>
>
>^ Matches the beginning of the line.
>$ Matches the end of the line.
>
>
>Ok, then, how many lines are in the following marked area:
>
>
>Welcome
>To
>Regular
>Expressions.
>
>
>I say there are 4, and I think most normal humans would agree with me. For example, 'Regular' is at the beginning of a line.
>
>Not according to the Regular Expressions inner workings. There is only 1 line, and it begins with 'Welcome'.
>
>I suggest that MS change the above text to the following:
>
>
>^ Matches the beginning of the input string.
>$ Matches the end of the input string.
>
>
>Again, tiny change, but (I think), large effect.
>
>Alan