Ask Your Question

How to rename all fields using regular expression?

asked 2017-10-09 12:59:57 -0500

jwhalen gravatar image

Working with XML field names can end up with a prefix of 'attr|'. How to remove 'attr|' from all field names?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2017-10-09 13:01:14 -0500

jwhalen gravatar image

updated 2017-10-09 14:07:41 -0500

metadaddy gravatar image

Use this expression to remove ‘attr|’ from beginning of each field name:

  • Source Field Expression: /'attr|(.*)'
  • Target Field Expression: /$1
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-10-09 12:59:57 -0500

Seen: 130 times

Last updated: Oct 09 '17