Hello all,
i want to replace any string which contains "&;" a space before the semicolon
Example:
$strTest = "Sometext with cotnent K&K;";
my output should looke like this
"Sometext with cotnent K&K ;"
a space before the semicolon.
the issue is thre can be 'n' number of text or number between & and ; like
sometext with conetnst add kklkk&dfaf:dfaÜÄmlddö;
How can i write a pattern for this ?
is it possible atall?
thanks & regards
Karthik