Tuesday, 10 September 2013

Perl Regex to get a substring between two of the same characters

Perl Regex to get a substring between two of the same characters

Given some string originalString = "#SomeWord# More words" I want to be
able to get the substring "SomeWord" from the originalString.

No comments:

Post a Comment