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 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: and <1 / code>
(href = "http: / /www.reactivemail.com/[^ "] * [^ /])"
\ 1 / "
Comments
Post a Comment