I'm trying to make a dynamic regex that matches a person's name. It works without problems on most names, until I ran into accented characters at the end of the name.
Example: ...
A colleague asked me about a Regular expression problem, and I can't seem to find and answer for him.
We're using boundaries to highlight certain lengths of text in a text editor, ...
I'm trying to create a bad word filter that throws out tweets that contain any of the words in a provided list, case insensitive. Only problem is that I want to ...
I have a JavaScript regular expression which basically finds two-letter words. The problem seems to be that it interprets accented characters as word boundaries. Indeed, it seems that
Is there solution to find word boundaries in Japanese string (E.g.: "??????????????") via JavaScript regular expressions("xregexp" JS library cab be used)?
E.g.:
var xr = RegExp("\\bst","g");
xr.test("The string") // --> true
I have a body of text that I'm searching using JavaScript. I let the user specify an arbitrary string, then I want to search for that string, with the condition ...