Reputation: 6909
I need a regular expression to find a string meeting certain criteria:
what I do is loop through an array of text to find a string that meets the criteria above, extract it and assign it to a variable.
Upvotes: 0
Views: 136
Reputation: 6136
Updated as per comment
55(-?\d-?){8,12}
http://regexr.com/39uic
Upvotes: 1