Welcome to the IDM Forum. This forum is meant as a user-to-user support mechanism where users can share knowledge and tips for all IDM software.
Since these forums are user-to-user based, IDM does not regularly read or reply to the posts in this forum. For problem reports, suggestions, or feature requests, you must email us directly. Our trained technical support staff answers most inquiries within 30 minutes.




KEY1[?^p^b^r^n]++KEY2^(KEY1[?^p^b^r^n]++^)KEY2^1KEY3KEY1[.\p]*KEY2
function blah (
int a=1;
a++;
......
)mrainey56 wrote:Maybe you can get an idea here that will help:
General thread: How do I replace multiple lines
[?^p]++string1
any
number
of
lines
string2(string1)(.*\p*)(string2)string1
string2<head><meta name="Schluessel" content="PK-V0000-T4444-D0000-N0000-G310805-A0000-X0000-B00000002">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="expires" content="1800">
<meta name="Date" content="01.09.2001">
<title>pin8</title>
</head>
thierrybo wrote:Ok, I understand why. This is because in my case, pattern (string1) and pattern (string2) are the exact content of a full line, not a part of line as in your case.
Edit: This is a potential bug in UE because I tested your case in Visual Regexp 3.0 and it works (http://laurent.riesterer.free.fr/regexp/).
(.*string1)(.*\p*)(string2.*) or (.*string1.*)(.*\p*)(.*string2.*)<head><meta name="Schluessel">
<head><meta name="Schluessel" content="PK-V0000-T4444-D0000-N0000-G310805-A0000-X0000-B00000002"><head><meta name="Sc****>
<head><meta name="Sc**** content="PK-V0000-T4444-D0000-N0000-G310805-A0000-X0000-B00000002">****>
**** content="PK-V0000-T4444-D0000-N0000-G310805-A0000-X0000-B00000002">