Ask Your Question
1

How to rename all fields using regular expression?

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

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
1

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

jwhalen gravatar image

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

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

Stats

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

Seen: 56 times

Last updated: Oct 09 '17