Remove ln tags from HTML files

General questions about using WildEdit

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
mark235

Remove ln tags from HTML files

Post by mark235 »

I'm trying to remove ln tags from a large collection of html files.
The following regular expression works in Textpad, but not in WildEdit:

Search:
<ln[^>]*>.*<end>\n\n
Replace:
null

Are their specific WildEdit settings that need to be changed in the "options" tab to make this work, or can this expression not be used in WildEdit?

Other expressions such as the ones below work just fine

Search:
<ahtag[^>]*>.*</ahtag>
Replace:
null

Search:
—
Replace:
&mdash;

Edit: sorry mods, this post probably belongs in the regular expressions forum instead of here
mark235

Post by mark235 »

Ah, I see that \n needs to be preceded by \r to make this work in WildEdit:
<ln[^>]*>.*<end>\r\n\r\n
It now works.

Thanks for a great product guys, I'm very happy with it
Post Reply