For questions about the function RegularExpression which is used in string patterns in functions as StringCases, StringReplace, StringPosition,StringCount etc.

learn more… | top users | synonyms (1)

10
votes
1answer
153 views

Mathematica equivalent of regex '\w{2,3}'

It beats me to write the Mathematica pattern equivalent to the regex: \w{2,3} Any ideas?
7
votes
1answer
166 views

What pattern will match accented letters in a regular expression?

How should I modify the following such that the accented letter É is matched and the expression returns True? ...
4
votes
4answers
288 views

Creating lists from a string, separating words from numbers

Say I have a string that contains numbers and words, such as this one: string = "there are 1234 words and numbers 5678 in here $999"; How would I separate the ...
11
votes
2answers
173 views

Should I use \\\“ or \” to match " in regex?

Both of the following return True: ...
4
votes
2answers
166 views

Tabs inside expression to format code

In a similar spirit to a question proffered several days back,and as that question stated, Since the front-end is quite extendable my question is... Does the front end provide any way to use ...
15
votes
4answers
482 views

Finding all dictionary words that can be made with a given set of characters (Wordfeud/Scrabble)

This is a slightly more involved variant of this recent question. By sheer coincidence I happened to have been building a Wordfeud (Scrabble clone) game in Mathematica. My interactive Wordfeud ...