Need Help For Remove a href Tag With out remove anchor Text
-
<a href=“site.com”>hello</a>
Need Only "Hello"Text From Above HTML CODE How to do Using Regular Experssion
-
Hello, @smart-warriors and All,
If we assume that the strings
<a href=and</a>are, both, on one line, only, I suppose that the following regex does the job :-
Open the Mark dialog (
Ctrl + M) -
SEARCH
(?s)<a href=.+?>\K.+?(?=</a>) -
Possibly, check the
Wrap aroundoption -
Select the
Regular expressionsearch mode -
Click on the
Mark Allbutton -
Then, click on the
Copy Marked Textbutton -
Open a new tab (
Ctrl + N) -
Paste the clipboard’s contents (
Ctrl + V)
If all your
<a href=.....>........</a>definitions are contained in a single line, you may use the more restrictive regex :MARK
(?-s)<a href=.+?>\K.+?(?=</a>)Best Regards,
guy038
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login