notepad++ - Regex to find all hrefs that contain a path but no "." (dot) -


I am a newbie, I try to create a regex in Notepad ++ to replace all href = "http I am doing this: //www.reactivemail.com/ (Any series of Characters) "

Essentially all I want to do is put the end / end of all the href, But only if this is the path of a file like this .html like it's

So here's what I want to find

href = "http: // www. Reactivemail.com (some paths in a directory) "

but you can ignore href = "http: www.reactivemail.com (some paths). Some extensions"

and want to add a href that only Go to a directory and finally / /

are unavailable using i regex:

  (Href = "http: \ / \ / www \. Reactivemail \ .com [^. *. * * * * * * *]  

and replace it with <1 / code>

find it Is what i want

with only the href file Finds this path with file extension and then ignores everything except instead of ignoring everything because it contains a dot

It's a bit dangerous (see my comment on your question), but you can try searching for:

  (href = "http: / /www.reactivemail.com/[^ "] * [^ /])"  

and

  \ 1 / "  

Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -