B
Bart Van Loon
Hello,
is it possible to make a regular expression match for the following
situation:
I have a string, looking like 'foobarbarbar'. I don't know what foo is,
nor what bar is, the only thing I know is that I have a string X,
concatenated an undefined number of times with a string Y. My goal is to
find out how many times this string Y (bar) is repeted, without knowing
what it exactly is.
Something like ^.*(.*)*$ maybe?
greetings,
BBBart
is it possible to make a regular expression match for the following
situation:
I have a string, looking like 'foobarbarbar'. I don't know what foo is,
nor what bar is, the only thing I know is that I have a string X,
concatenated an undefined number of times with a string Y. My goal is to
find out how many times this string Y (bar) is repeted, without knowing
what it exactly is.
Something like ^.*(.*)*$ maybe?
greetings,
BBBart