I would appreciate help with one regex.
I have a string of ids example "123,55,68,890,456,333,168"
How should the regex look like to find a specific id -- example 68? Bear in mind that 168 shouldn't be returned. There are four cases where the id could be positioned:
- x (only one id in the list/string)
- ,x, (somewhere in the middle of the string)
- x, (at the beginning of the string)
- ,x (at the end of the string)
I would use this regex as part of the SQL query.
Thanks in advance