I think what you want is [^']* , meaning "anything except single quote = zero or more times".
Like this... my $line = "'here is a quote'. Autor (birth year - death year); occupation nationality."; $line =~ /'([^']*)'/; print $1; Rob -----Original Message----- From: Eduardo Cancino [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 10:57 AM To: List Beginners Perl Subject: regex Hi. I'm parsing a text file with this estrcuture line: 'here is a quote'. Autor (birth year - death year); occupation nationality. ====== I need to separate from the beggining to the first dot, ignoring the dots in side the two ''. but i have tried to escape the ' (\'), but no use, what i'm missing or what should i read. Thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]