I am trying to replace a particular set of strings using RegExp but it is not replacing. The regex I am trying is
\@223(?:\D|'')\gm
The set of strings to test on are these
@223 ->Replace 223 with #
@223+@33 ->Replace 223 with #
@22; ->Not Replace
@2234 ->Not Replace
@22234 ->Not Replace
@223@44 ->Replace 223 with #
223 with #if it start with@223?233by#?str = str.replace(/@223\b/, "#")