We have an application that we suspect is getting spam/clickfarm email addresses signing up. A lot of them follow the pattern:
firstName:number:[email protected]
For example,
RegEx
/(\w+)(\d+)(\w+)/g gets me close to what I want but also captures numbers at the end of the string
/(\w+?)(\d+)(\w+)/g? What numbers are there at the end of the string?[email protected]/([^\W\d]+)(\d+)([^\W\d]+)/gshould work.