How do js regular expressions express "and" and "mismatch of consecutive characters"?

want to match / & [a-zA-Z] *; / , but not / & / . How can I achieve this? Can it be implemented directly with regularization?


[&] + don't know what you're talking about


/ (\ & amp\;) /


/^(?!&$)/




/&(?!amp;)/

clipboard.png


/&(?!amp)[a-zA-Z]*;/
Menu