in reply to Regular Expression Help

\s is a character class that represents whitespace and it is used in regular expressions. In the substitution operator the left-hand side is a regular expression and the right-hand side is a string and \s in a string is just the character 's'.

Replies are listed 'Best First'.
Re^2: Regular Expression Help
by duckyd (Hermit) on Aug 23, 2006 at 18:14 UTC
    Building on this, you probably want:
    s/_/ /g