Hi George,
    Are you looking for a TCL script or a PERL regex expression, if you are
using PERL
then try the code what  Dmitry Motevich has written if u need in TCL then
try the below

-----------------------------------------------------------
set x "Linz_Untauglich Dr."

set result [regexp (_)(.*) $x match];

puts $match;
------------------------------------------------------------

Regards
Mazhar

On 1/25/06, John Doe <[EMAIL PROTECTED]> wrote:
>
> George Homorozeanu am Mittwoch, 25. Januar 2006 16.12:
> > I need it with RegEx, that's my problem.
> >
> > Thanks,
> >
> > George.
> >
> > "Xavier Noria" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> > news:[EMAIL PROTECTED]
> >
> > > On Jan 25, 2006, at 12:23, George Homorozeanu wrote:
> > >> I am very new in RegEx and I want to be able to write an
> expresion  that
> > >> does
> > >> the following:
> > >>
> > >> Return all the characters from a string starting from the 5-th
> > >> character.
> > >
> > > You want to do it with a regexp for some particular reason?
> That's  the
> > > job of substr().
>
> Could you have a look at the following man page (type it at the cmdline):
>
> perldoc perlretut
>
> This is a (short) tutorial about regexes. Although this list is for
> beginners,
> I personally feel that it is advisable to have a minimal understanding
> about
> the code one writes - and your regex question is *very* basic and
> described
> in the man pages.
>
> You say that you want to be *able* to *write* this expression, so I don't
> think my post is impolite.
>
> If, after reading the manual and having *tried* to write the regex, you
> still
> need help, post again.
>
> (The full regex details you can find with
> perldoc perlre)
>
> hth, joe
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>
>

Reply via email to