Suppose I have strings of the form:
xxxxxxxxxxZYYYxxxxxx
where x can be any character, Z is some specific character, and Y is a certain character type (i.e. digits) of arbitrarily length. I want to exploit the fact that substring Y...Y always appears after Z, and write a regular expression that extracts Y.
Thank you in advance!
xxxxxxxxxxZYYYxxxxxx
where x can be any character, Z is some specific character, and Y is a certain character type (i.e. digits) of arbitrarily length. I want to exploit the fact that substring Y...Y always appears after Z, and write a regular expression that extracts Y.
Thank you in advance!