Hi AnomalousMonk,
Thank you very much for all the efforts.</>
Your code my $count = () = $title =~ m{ (?<! \S) \Q$kw\E (?! \S) }xmsig; works perfectly for me except in a couple of cases(for me).
I have to neglect if the $kw is followed by a coma or a semicolon. Can you pls show me how to add the same to the code?
In reply to Re^2: Regex help \b & \Q
by Anonymous Monk
in thread Regex help \b & \Q
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |