Question had an internal problem and is edited: I want to select all content whatsoever inside a <p> tag via a source code editor and change it that selection to something else.
How would you suggest to do that?
This worked for me in regex mode in Virtual Studio Code:
by passed over you mean the match included the align?
if you mean it skipped the align and you think it shouldnt… you wanted the contents of the style attribute. align is a different, separate attribute.
I meant “skipped”.
I confused align="right" with a possible text-align: right; because indeed my original aim was to select everything within a <p> tag, not only the style attribute. Please forgive me for misleading you and I have edited the question and deleted comments to make a useful post for possible future readers.