Add a character to the beginning and end of a string
javascript, regex
Solution
You don't need a regular expression.
str = "123456789";
str = "'" + str + "'";
Problem
I am using a platform which uses a JavaScript-like syntax and allows to convert my values using regex. I need to add a single quote at the beginning and at the end of a string, the string will always have 9 characters. I.e.: `123456789` should be converted to `'123456789'` What expression should I use?