J
JM
Hi,
I am pretty new to regex, and I am trying to find a why to do:
1) I have a paragraph "... the black monkey (gamma5) is the one who develop
the first inmunoresitance to alpha-23 also there..."
2) I need to match everything (from some point) until a certain word
(example until alpha-23).
3) I have try to use the next regular expression: ".*alpha-23 " but since
there are other ocurrence of "alpha-23" it try to match everything.
My question:
Is there any command that allow me to match everythin "until" a certain
word?.
Something like [^RH] will match until the first occurrence of R or H but
instead of R or H I need R "followed by" H
Thanks,
Jaime
I am pretty new to regex, and I am trying to find a why to do:
1) I have a paragraph "... the black monkey (gamma5) is the one who develop
the first inmunoresitance to alpha-23 also there..."
2) I need to match everything (from some point) until a certain word
(example until alpha-23).
3) I have try to use the next regular expression: ".*alpha-23 " but since
there are other ocurrence of "alpha-23" it try to match everything.
My question:
Is there any command that allow me to match everythin "until" a certain
word?.
Something like [^RH] will match until the first occurrence of R or H but
instead of R or H I need R "followed by" H
Thanks,
Jaime