in reply to Re^3: Replace empty alt tag on <img> tag
in thread Replace empty alt tag on <img> tag
The real question should be: Is it possible with a simple regex?
Answer: No.
A regex parsing HTML wouldn't be less complex than a full scale HTML parser and consist of various nested sub expressions.
Certainly not a one liner.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Replace empty alt tag on <img> tag
by Fletch (Bishop) on Jan 20, 2022 at 19:32 UTC | |
Re^5: Replace empty alt tag on <img> tag
by Anonymous Monk on Jan 20, 2022 at 18:25 UTC |