Regular Expressions 101

Library entries

Match all words starting with "a" not in a Tag

Vote

1

Regular Expression
javascript

/
((?<!<[^>]*)|(?![^<]*>))((?<=^|\W)(a))
/
g

Description

Loading markdown...
Submitted by Michael Chambers - 2 months ago