Page 1 of 1

how to lowcase a single char

Posted: Fri Apr 25, 2014 12:52 pm
by Edomira
Well thanks for this fine masterpiece .. does really what i needed but
a single problem left:

i have to run through 135 html files and make them useable for offline viewing

The urls i need to edit looks like
<a href="http://webadressl/No idea what's here?version=another no idea whats here"
and i need
<a href="../webadress/no idea what's here.html"

my seachstring:
<a href="http://webadress/[^:\?"]+\?version=[^"]+"

my replacestring so far:
<a href="../webadress/[^:\?"]+.html"

so i just need to lowercase the char after
<a href="http://webadress/
but it seems that \l isn't working

Greetings & Thanks
EDO

Re: i'm totally lost - need help to edit urls

Posted: Fri Apr 25, 2014 2:17 pm
by Edomira
i just blabbled here

sorry

Re: how to lowcase a single char

Posted: Wed Apr 30, 2014 10:41 am
by DigitalVolcano
.NET Regular expressions don't support changing case (\l or \u) in the replace expression, unfortunately. We are looking at a case change function for version 3.0 though.