how to lowcase a single char

A place to try and solve your RegEx problems.
Post Reply
Edomira
Posts: 2
Joined: Fri Apr 25, 2014 12:17 pm

how to lowcase a single char

Post 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
Last edited by Edomira on Fri Apr 25, 2014 9:27 pm, edited 1 time in total.
Edomira
Posts: 2
Joined: Fri Apr 25, 2014 12:17 pm

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

Post by Edomira »

i just blabbled here

sorry
User avatar
DigitalVolcano
Site Admin
Posts: 1724
Joined: Thu Jun 09, 2011 10:04 am

Re: how to lowcase a single char

Post 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.
Post Reply