Ask Your Question
1

How do you use the field renamer for _

asked 2018-07-14 08:52:51 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi, I am attempting to use the underscore in the field flattener processor and then hook that up to the field renamer processor to remove part of the suffix ex: Before: Alabama_activities_park After: activities_park

This is what ive tried but neither seems to have worked. Thanks!

/'Alabama_(.)' /'Alabama\w(.)'

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-07-16 11:25:11 -0500

iamontheinet gravatar image

Hi!

If your input is Alabama_activities_park and your desired output is activities_park, then the following will work in Field Renamer processor:

Source Field Expression: /Alabama_(.*)
Target Field Expression: /$1

Cheers, Dash

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2018-07-14 08:52:51 -0500

Seen: 31 times

Last updated: Jul 16