This question already has an answer here:
- Combining 2 regex expressions 2 answers
What i want is something like this:
(
[integer OR (ANY but not integer or white-space)]
[(ONE white-space OR NONE)]
[integer OR (ANY but not integer or white-space)]
)
Example of strings that will match: 99 $
99$
$ 99
$99
what i have now is two regular expression :
^[^\d\s](\s{0,1})\d+
AND ^\d+(\s{0,1})[^\d\s]
any ideas of how to replace those two with only one regular expression?
</div>