wildwillywright:
--------------------------------------------------------------------------------
Hi 

Is there a way of searching with regular expressions for a text string and
replacing it by its lowercase equivalent. 

e.g. Search: <a href="XYZ.HTM">
Replace = <a href="xyz.htm">

Andy
--------------------------------------------------------------------------------

Hi,
there probably isn't a bulit-in PSPad function for this, but you can write a
script for that.

Using my Poor man's RE
http://www.vbr.wz.cz/pspad/poor-man-s-REplace.html
, the replace pattern might be e.g.:

cite:
--------------------------------------------------------------------------------
/(<a href=")([^"]*?)(">)/g, function(match, paren1, paren2, paren3){
return paren1 + paren2.toUpperCase() + 
paren3;}--------------------------------------------------------------------------------


Be sure to try it on backed up data - there are some limitations of scripting
regarding unicode support etc.

hth,
  vbr

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

Odpovedet emailem