Tuesday, 27 August 2013

Get substring between two characters

Get substring between two characters

How do you build a regex to return for the characters between < and @ of a
string?
For example <1001@10.2.2.1> would return 1001.
Would something using <.?> work?

No comments:

Post a Comment