> $string =~ s/^ *// # Two spaces after ^. you can even do it with one space aftter ^, though doing $string =~ s/^\s*// will be better!!! > | Could someone tell me a regular expression to remove leading spaces > | in a > | string? For example in " Hello World", i want to remove all > | the > | spaces *before* hello.