10
votes
1answer
157 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?
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: ...