My regex:
/3\\b/
Matches:
103 134,256,3
I want it to only match the lone 3. The number 3 will be a dyna
If you want to match only 3 in line you can use anchors like this:
^3$
On the other hand if you want to match 3 in a line with more data you need to add an additional \b at your regex as Barmar showed in her answer
3
\b
Put a word boundary before it as well:
\b3\b