I am trying to create a regex to be able to parse the following types of strings in groups.
<link rel="alternate" type="application/rss+xml" title="[!PageTitle!]" href="[!SiteRoot!]/feed.xml" />
My regex is:
\[\!(.+)\!\]
The problem with this expression is that it seems to be pulling it all out into one group:
Found 1 matches:
I want regex not to continue ... am I missing the border? Ideally, I want to find 2 groups ,
[! PageTitle!]
and
[! Site root]
c # regex
dmose Mar 08 2018-10-10T00: 00Z
source share