I am trying to go through a string and replace instances of "D", that may or
may not have spaces after them, with uppercase "D" adjacent to the following
numbers.  

<cfset testcase ="d 307,569|d307,558|d 221,145|">

<cfset testcase = ReReplace(trim(testcase),"[dD][\s]?","D")>

If anyone looking at this has a pointer or can nudge me towards the field of
regex study to complete my task I would appreciate it.  I have Ben's new
book in front of me, but clearly I am missing something.

Thank you much.

-Nate

Nathan Smith  McKee, Voorhees & Sease, P.L.C.  515.288.3667
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to