troubleshooting Question

string extraction

Avatar of Gurpreet Singh Randhawa
Gurpreet Singh RandhawaFlag for Canada asked on
ColdFusion LanguageRegular Expressions
12 Comments1 Solution396 ViewsLast Modified:
Hi Experts,

I have the following string:

<cfset string = "023.3 : Value 1= UNCONTROLLED,112.4 : Pneumonia due = UNCONTROLLED,112.0 : Candidiasis, oral= UNCONTROLLED,CPT Codes= 0239T : BIOIMPEDANCE SPECTROSCOPY - 07/31/2013,CPT Codes= 10022 : FNA W/IMAGE - 07/31/2013">

I want to extract the CPT Codes into new variables:

like string1 and string2, string 1 will hold the values for the above uncrolled and string 2 will hold cpt codes values

I am bit aware that this can somehow achieved though regex, but i am less in RegEx,

Just Guide me
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 12 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros