I have a simple question i know this is basic but i can't get the right expression.
That regex can answer this to get the answer "one":Code:/^.*:\s+.?.?(one|two).?.?\s*$/i
My question is if the output is like this!@one_!
What would be my expression to get only the answer "one"?!@o2ne_1
How can i disregard the 2 there inside the "one" word.


Reply With Quote
