Why doesn't this remove leading spaces?


#1

I have tried this

Field: _ALL
Original: "\s*"
Replace With:

Checkboxes left unchecked

And it is not removing leading spaces. What did I miss?

Thanks


#2

Sorry if this sounds stupid, but are you using RegEx replace or normal text replace? The above setting works here (although it replaces ALL spaces). If you want to remove leading spaces only, you would have to use "^\s*".


#3
  1. You chose the wrong action type. You need "Replace with reg. expression" and not only "Replace"
  2. \s* would kill all spaces, I'm sure you don't want that.
    Look here

#4

Okay it was switching to "Regular Expression" that did the trick. Sorry. First timer. Thanks for help

Tom