Can anybody tell me how to identify the middle part interestedInThis
and backreference the prefix: fontsize=12
and postfix: fontstyle=bold
as ${1}
and ${2}
?
I'm dealing with this string:
<fontsize=12 interestedInThis fontstyle=bold>
Addendum: Sorry, I was not precise enough, here are the specifics:
- prefix and postfix could be absent
- prefix and postfix can be any string, not necessarily fontsize, resp. fontstyle
- I know for sure, what I am looking for, namely
interestedInThis
and it will be separated through whitespaces.