--- John Hebert <[EMAIL PROTECTED]> wrote:
> Howdy,
>
> I have a bunch of text with multiple tokens in it
> demarcated by { and }.
>
> Sample text:
> this is some {text1}. this is more {text2}. and yet
> some more {text3}. blahdeblah.
Just realized that instead of using { and }, I should
some other character to demarcate my tokens, let's say
@, so the sample text should be:
this is some @[EMAIL PROTECTED] this is more @[EMAIL PROTECTED] and yet
some more @[EMAIL PROTECTED] blahdeblah.
> What would a regular expression to get these tokens
> out of the text look like, in a Perl script, say?
Or rather than Perl, any common Unix tool that uses
RE, like sed, awk, etc.
Thanks.
> Thanks,
> John
>
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail
>
> _______________________________________________
> General mailing list
> [email protected]
> http://brlug.net/mailman/listinfo/general_brlug.net
>
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail