Thanks - I will look into it.
Paul
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Kevin
Bucknum
Sent: Friday, July 31, 2020 5:02 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Re: How to get the dollar value from this text string?
regex101.com is a good place to get explanations for regexes. The period
means any character. The asterisk means match as as many characters as you
can find. By default it is greedy which means it will try and grab as many
characters as it can. The N is just an N. So you are telling it to match any
characters up until you get to a capital N. Because it's greedy, it will
find the last capital N. For regex_replace, if you don't provide a third
parameter then it defaults to blanks. So -
regex_replace(source_string,'.*N') mean convert everything up to and
including the last capital N, and replace it with blanks.
On Fri, 2020-07-31 at 16:40 -0400, Paul Therrien wrote:
regexp_replace ('NTE*OTH*#OH- HANDLING CHARGES GSYE9R03/WHT/ / 4T/- 2.29~
[
https://www.medtronsoftware.com/img/MedtronMinilogo.bmp] Kevin Bucknum
Senior Programmer Analyst
MEDDATA / MEDTRON
120 Innwood Drive
Covington LA 70433
Local: 985-893-2550
Toll Free: 877-893-2550
https://www.medtronsoftware.com
CONFIDENTIALITY NOTICE
This document and any accompanying this email transmission contain
confidential information, belonging to the sender that is legally
privileged. This information is intended only for the use of the individual
or entity named above. The authorized recipient of this information is
prohibited from disclosing this information to any other party and is
required to destroy the information after its stated need has been
fulfilled. If you are not the intended recipient, or the employee of agent
responsible to deliver it to the intended recipient, you are hereby notified
that any disclosure, copying, distribution or action taken in reliance on
the contents of these documents is STRICTLY PROHIBITED. If you have
received this email in error, please notify the sender immediately to
arrange for return or destruction of these documents.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.