I currently have a Simple Find reg expr that is working perfectly
<a href="https://www.yyyy.com.*>?</a>
I want to replace above leaving only the ? values example when I search
My Results are
<a href="https://www.yyyy.com">123</a>
<a href="https://www.yyyy.com" target="_blank">789</a>
<a href="https://www.yyyy.com">456</a>
I want to replacement to be
<p>123</p>
<p>789</p>
<p>456</p>
Is the replacement as simple as
<p>?</p>
Removing link..
Re: Removing link..
Hello,
You should use regular expressions here.
Go to Batch Replace tab.
Check Use Regular expressions.
You should use:
Search for:
<a href="https://www\.yyyy\.com".*>(\d+)</a>
Replace with:
<p>$1</p>
Thus:
\d - any digit
\d+ - one or more digits
.* - any text (even empty).
() is used to capture the number.
$1 in replace part is used to put the captured number.
\. is used to escape . because dot is reserved char.
You should use regular expressions here.
Go to Batch Replace tab.
Check Use Regular expressions.
You should use:
Search for:
<a href="https://www\.yyyy\.com".*>(\d+)</a>
Replace with:
<p>$1</p>
Thus:
\d - any digit
\d+ - one or more digits
.* - any text (even empty).
() is used to capture the number.
$1 in replace part is used to put the captured number.
\. is used to escape . because dot is reserved char.