Increment - acnicholas/scaddins GitHub Wiki

Some example settings.

NOTE in the destination replacement pattern include "#VAL#" where the newly incremented number should be.

Examples

Room number with a prefix

E1.101 where "101" is the room number and you want to keep the E1.

  • Source Search: E1.(\d*$)
  • Source replace: $1
  • Destination Search: ^.*$
  • Destination Replace: E1.#VAL#

Room number with a suffix

121B, 131C, 150WG.

  • Source Search: (^\d*).*$
  • Source replace: $1
  • Destination Search: (^\d*)(.*$)
  • Destination Replace: #VAL#$2