Valid java script regular expression to check the string should have 1st letter capital only: O O a. [a-z]* b. None of the above code example
Example: using a variable in regex javascript with boundary marker
re = new RegExp(`\\b${sa}\\b`, 'gi');
re = new RegExp(`\\b${sa}\\b`, 'gi');