regex matching strings of the form abc|abc

Viewed 29

whats a regex pattern that matches the same string repeated, with both instances separated by a pipe char? Example strings that the regex should match: a|a abc|abc

1 Answers
Related