Re: [NTS] Trying to perfect RegExp to match various numbers
- Thanks Eb - \x30 works.
when I was messing around with this I had tried the same thing but
realize now that I was trying (the meaningless) uppercase \X30 instead
of the correct \x30. Ooops ! :-[
On 2011-04-04 09:18, Eb wrote:
> Ok, try this (hex code '\x30' for the first zero):
> --- In email@example.com
> <mailto:ntb-scripts%40yahoogroups.com>, Alec Burgess <buralex@...> wrote:
> > > ^!replace "\b(\d+)\.?(\d*)\b" >> "00000$1.$2^%empty%0000" rwais
> > It does allow the $2 to be substituted but ^%empty% does not appear to
> > get translated.
> > I get results like this:
> > 45.6 ==> 0000045.6^%empty%0000
Regards ... Alec (buralex@gmail & WinLiveMess - alec.m.burgess@skype)
[Non-text portions of this message have been removed]