The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now!
A chart showing the TIBCO Platform vision
Jump to content
Forums
Ask questions and gain insight from discussions

Using REPLACEREGEX with Scribe's field formula


Stephen Outram

Recommended Posts

I have address data that looks like this,

defaultAddress: NameStreetCity ZIPCountry

In my flow's insert/update block 'Country' field, I'm using the following REGEX to match everything that is not the country name and replace it with blank "". The targetis to delete everything and leave the country name.

REPLACEREGEX(Customer.defaultAddress, "([^>]*>)/gm", "")

When I test this REGEX (https://regexr.com/) it matches everything that is not the country name. Great!

([^>]*>)/gm

But when I process it in Scribe's flow Debug Mode, the result for Country is the full defaultAddress.

Any thoughts on how this could work

Thanks, Stephen

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...