Next pattern matches "at least one symbol which is letter or digit at the begging and then exactly one delimiter '|' and then at least one symbol which is letter or digit in the end":
Valid is:
ab123|cde45
Not valid are:
|ad
df|
adf||adf
and so on...Links I've used:
Verify your Regex:
http://www.pagecolumn.com/tool/regtest.htm
Cheat Sheet:
http://www.addedbytes.com/download/regular-expressions-cheat-sheet-v2/pdf/






0 comments:
Post a Comment