Hi!

What about just doing
   $string =~ s/<[^>]+>//;

which will match any number of chars that AREN'T ">" and a ">" behind that.


Sascha

At 12:06 20.08.01 +0200, you wrote:
>Im not sure if this is possible but i want to delete all chars inbeteen
>< and > so if i had <FOOBAR> id like to delete it,
>Here an example of the best way i can figure out how to do it :)
>
>$string =~ s/\<.\>|\<..\>|\<...\>|\<....\>|\<......\>//
>
>so I'm looking for a shorter way, I cant find any wildcards that will
>match more than one char.
>
>Hope thats makes some sense.
>
>Cheers
>Merritt
>
>--
>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]

Reply via email to