regexp for ' replacement
| From: | Thalis A. Kalfigopoulos | Date: | Fri, 05 Apr 2002 16:53:53 +0000 |
| Subject: | regexp for ' replacement | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-91744@lists.php.net to get a copy of this message | ||
Yet another regexpr question.
If I have as part of a text:
...and then 'the quick brown fox jumped over the lazy dog's piano'...
How can I substitute the single quote in "dog's" with say \'
I want to aply a substitution for only the single quote that is between two single quotes and leave
the rest of the text in between the same.
Make sense for regexpr usage?
TIA,
thalis