DEV Community

Discussion on: SQL: Intro to Wild Cards

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

Another important thing is escaping wildcards. I think it is [], so

str.replace(/[[%_]/g, '[$&]')
Collapse
 
moha1234566044 profile image
Mohamed Hassan

I will cover this in the upcoming posts :)