Relative Content

Tag Archive for javascriptregex

Match numbers with regex only if specified characters are also present

I need to find Japanese characters in a file that are enclosed with quotation marks. In some cases, the resulting phrase also has half-width numbers, but not always. I would like to write a regular expression that matches phrases that have Japanese characters, either with or without half-width numbers, but not phrases that only have half-width numbers.