Hi Peter,
Very good, but not sure (?=\s) is wise. If we consider we only find #xxxxxx or #xxxxxx-xx, I propose:
#\d{6}(-\d{2})*\b
Hi Peter,
Very good, but not sure (?=\s) is wise. If we consider we only find #xxxxxx or #xxxxxx-xx, I propose:
#\d{6}(-\d{2})*\b