635 East Bay Street
Charleston, SC 29403
888-OMATIC-ME
info@omaticsoftware.com
Forums
Real-Time Q&A for Import-O-Matic
A member of our Support Team is on-call in an interactive screen-sharing session EVERY TUESDAY from 2-4:30pm EDT to help you to answer questions you have related to Import-O-Matic, or its integration with The Raiser's Edge.  Please join the GoToMeeting session by following the connection details here and we will respond to your questions LIVE.
Regular Expression/RegEx to remove last three characters, append a value, and prefix a value
Last Post 04 Nov 2011 04:07 PM by Tiffany Theissen. 0 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Tiffany TheissenUser is Offline
Private

New Member
Posts:24
Avatar

--
04 Nov 2011 04:07 PM
A client passed this one on to me today. She needed to turn "863911.75" into "$863911;" without the " "

This could be used for other things. Hope you find it helpful!

-Tiffany

In the first screen shot, we are removing the last three characters from the incoming data ".75" and replacing them with a ";". You could easily replace it with BLANK instead.

Replacement Values = ;
Values to match on = \.(\d{2})




In the second screen shot, we are prefixing the "$" to the string.

Replacement Values = $
Values to match on = ^

Tiffany Theissen
Support Specialist
O-matic Software, LLC
You are not authorized to post a reply.

Active Forums 4.3
Home | Solutions | News | Events | Support
Copyright 2012 O-matic Software, LLC