EmEditor (text editor) Forum Index
   Regular Expressions
     Delete all onclick=... onLoad=...
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
Serg525
Posted on: 2/18/2013 9:57 am
Just popping in
Joined: 2/18/2013
From:
Posts: 2
Delete all onclick=... onLoad=...
You can delete all onclick=... onLoad=... with attributes.

Just use one of these:

(\s+on(?:click|load)=("|')(.*?)("|'))

or

(\s+on(?:click|load)=(?:"[^"]+")|(?:'[^']+'))
------------------


! Do not forget to uncheck "Match Case" in the window "Replace"
Flat Previous Topic | Next Topic


Subject Poster Date
 » Delete all onclick=... onLoad=... Serg525 2/18/2013 9:57 am

Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文