Quote:
Originally Posted by chaley
You probably need to use the DOTALL flag on your regexp so that \n is matched by '.' and the character classes.
Without looking at the regexp at all to see if my suggestion makes sense, try
Code:
(?s)^[0-9]+\.\s+[a-zA-Z ]+\s+[a-zA-Z ]+
|
Doesn't the DOTALL only work if there's a dot as a quantifier? The only dot in that regex is a literal one.
(Edit: For some funny reason, in the quoted regex above, my browser displays vertical bars instead of backslashes in some cases. I assure you that there are no vertical bars there

)