regex - exact match on column search
regex - exact match on column search

Using https://datatables.net/examples/api/regex.html how does one filter to get an exact match on regex. For example i have the following values in a column. If i search for the number "2" all the rows will show, how do i make only the one row show for the exact match?
2
3321
3124
12004
I tried with ^.{2}$ however it seems anchors are not allowed. Please assist.
Great work on the API btw, works really well !!
This discussion has been closed.
Answers
Solved. ^2$