Not sure what you mean. There's no problem with adding <em>...</em> around the word "perl", it's just the \W+ that's inappropriate in the string to substitute...
Think of it this way: What concrete characters (and how many) should be substituted from the class of characters that \W stands for?
In reply to Re^3: How to use \W in Regular Expression?
by almut
in thread How to use \W in Regular Expression?
by Sachin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |