theplanetfixer:
--------------------------------------------------------------------------------
I have a big file and I need to replace all underscore by dashes.

Like:

from: 
cite:
--------------------------------------------------------------------------------
http://rogerpilon.com/pierre/2009/02/enfin_un_formulaire_dinscription.htm
l--------------------------------------------------------------------------------


to 
cite:
--------------------------------------------------------------------------------
http://rogerpilon.com/pierre/2009/02/enfin-un-formulaire-dinscription.htm
l--------------------------------------------------------------------------------


I read the search and replace strings list but I admit, it is out of my league.

Could someone be kind enough to post the search/replace stings?

Thanks in advance!

Roger Pilon:)
--------------------------------------------------------------------------------


Hi,
is there some special requirement for this replacement, or should simply all
underscores be replaced by dashes?

in that case, you just call the replacement dialog: Ctrl+H (Menu: Search -
Replace)
and fill in the pattern
Search:
_
Replace:
-
and press [Ok]

Or are you seeing some unexpected behaviour with this straightforward approach?

The more complex syntax for searches you found might be regular expressions,
which wouldn't be needed here.

hth,
  vbr

-- 
<http://forum.pspad.com/read.php?2,61485,61486>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem