Hi I am trying to do regex in java, I need to capture the last {n} words. (There may be a variable num of whitespaces between words). Requirement is it has to be done in regex. So e.g. in Hi I am trying to do regex in java, I need to c
Hi I am trying to do regex in java, I need to capture the last {n} words. (There may be a variable num of whitespaces between words). Requirement is it has to be done in regex. So e.g. in Hi I am trying to do regex in java, I need to c