Hi Folks, Struggling to understand what is happening here...
Example of text is Description Supports the management of the process to create and complete an order Actors SYSTEM Pre-Conditions A Service Instance may have been selected for the purchase This regex extracts the text /Description([^.]+)(?:Actors)/ Supports the management of the process to create and complete an order In some cases, the word "Actors" that I want to terminate on is the word "Steps" instead, so I though I'd use an OR inside parenthesis with no backreferences ?: to match either Actors or Steps - this now matches neither, so the pattern just runs to the end of the text (?<!Change )Description([^.]+)(?:Actors|Steps) any hints? -- Colm -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>