Reputation: 889
I have the following expression for regex. Can someone tell me what it does? I can't find any reference to [?:]
Thanks
"abcd (?<result>.*?)[?:]"
Upvotes: 1
Views: 191
Reputation: 129001
It matches any characters besides ?
or :
until (and including) a ?
or :
and places the text before the ?
or :
into a group named result
.
Upvotes: 3