JavaScript: How to use (backtick) ` in regular expression?
javascript, regex
Solution
backtick has no special meaning. you can use it as `/`/`, it will work fine.
Problem
In JavaScript, how do you use use the backtick (`) in a regular expression? Sample code: ``` xtype: 'textfield', regex: /^[a-zA-Z0-9àâçéèêîïôùû-.,:+*'()=&_ \s\u0060]+$/ ```