문제

I have pages with links like:

href="FileName-One-Example.html"

I need to a regular expression command with Notepad++ to change the case of the anything between href=" nad the ending " to lowercase, and leave everything before and after it in the page as is.

So the result is:

href="filename-one-example.html"
도움이 되었습니까?

해결책

This is the correct regexp to use:

Find: (href=")([^"]*)
Replace: \1\L\2\E

Edit: changed the second \L to \E as suggested in the comments.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top