[ad_1]
<?php
$old = '<a href="#next">flow to the next</a> ';
$new = preg_replace('/(<a href="\#.*?">)(.*?)<\/a>/is', '$2', $old);
echo $new;
[ad_2]
solved php preg_replace all the link with #
[ad_1]
<?php
$old = '<a href="#next">flow to the next</a> ';
$new = preg_replace('/(<a href="\#.*?">)(.*?)<\/a>/is', '$2', $old);
echo $new;
[ad_2]
solved php preg_replace all the link with #