I have a question on how to search for a substring using Regexp.
Say, I have a "base" string, such as:
image height=X width=Y end
Both height and width in the above "base" string are assigned integer values that vary, i.e.:
image height=15 width=20 end
image height=10 width=10 end
image height=20 width=5 end
So my question is whether it's possible to fetch width value using canonical regex given that the first part of the substring effectively changes?