Re: Applying multiple regexp to the same text.

2002-07-30 Thread Glenn Nielsen
You have to create a new text variable using the results of the first regexp. Then use that text variable with the second one. Like this: s/\/>/ \/>/gmi s/<\?.*\?>//gmi Some text here Regards, Glenn Cliffano Subagio wrote: > Hi, > > How to apply multiple regexp to the same text? >

Applying multiple regexp to the same text.

2002-07-30 Thread Cliffano Subagio
Hi, How to apply multiple regexp to the same text? Here is my code: s/\/>/ \/>/gmi s/<\?.*\?>//gmi Some text here The above obviously displays theText twice. I tried and it doesn't work. I couldn't find documentation on jakarta.../regexp website, I also checked jakarta.../oro. Plea