Posted by »Q« on 07/20/07 17:59
In <news:Hg5oi.131884$xq1.90378@pd7urf1no>,
"M" <nowhereman@twilightzone.net> wrote:
>I need something that works IN REVERSE. i.e. I enter text, highlight
>the expression I want removed, then it tells me the regular expression
>needed to achieve that.
There's nothing that can work like that and be of any use. E.g., if
you have removed the string
class="foo"
then the simplest regex that would match it is just
class="foo"
I'm afraid the only way to make regular expressions that will match
more than just the target at hand, you'll have to build them yourself.
--
Β»QΒ«
[Back to original message]
|