Search with wildcards
-
I’d certainly give this a go as a first shot:
Find
(?s)<table>.*?</table>
Replacewtf_knows
Search mode: Reg. expression -
Hello Alan Kilborn that exprecion worked impeccable !!! Thank you very very much!!
I need help with another expression more please.
I want to find and replace all the text that starts with <img have in the middle youtube.com and end with >Can someone help me how to do it using regular expressions in notepad ++?
-
I need help with another expression more please.
i could literarily smell this coming 😂
find what:
<img(.*?)youtube.com(.*?)>
replace with:wtf_knowsbest regards
-
Hello @Alan-Kilborn that exprecion worked impeccable !!! Thank you very very much!!
I need help with another expression please.
I want to find and replace all the text that starts with <img have in the middle youtube.com and end with >Can someone help me how to do it using regular expressions in notepad ++?
-
I need help with another expression more please.
i could literarily smell this coming 😂
find what:
<img(.*?)youtube.com(.*?)>
replace with:wtf_dejavubest regards
-
Hi @Meta-Chuh said:
<img(.?)youtube.com(.?)>
THANK YOU for your quick response Meta Chuh.
Your solution works for me for some cases, but for other cases it does not.
It does not work for the cases I have two images together. The first of the domain google.com and the second of the searched domain (in this case youtube.com)
Example :
<img src = "http: //www.google.com/imagenes/123.jpg ">
<img src = “http: //www.youtube.com/imagenes/456.jpg”>I want to select only:
<img src = “http: //www.youtube.com/imagenes/456.jpg”>But in practice, notepad selects :
<img alt = src = "http: //www.google.com/imagenes/123.jpg ">
<img alt = src = "http: //www.youtube.com/imagenes/456.jpg ">I appreciate your support
From already thank you very much!!
-
please disable
. matches newlineat the search mode settings. -
It works like a charm. You’re a genius!!!
-
Dear @Meta-Chuh , I hope that you are very well.
The solution you gave me worked for most of the cases.
However some of the images that I have are in the text like this:
<img alt=""
src="http://www.mysite.com/imagenes/image.jpg\">and the above solution does not work.
Any other idea?Best regards!!
-
find what:
<img alt(.*?)("|"\r\n|"\n)(.*?)mysite.com(.*?)$
replace with:your_contentnote: keep
. matches newlinedisabled at the search mode settings, to avoid multi line matches.best regards.
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