I'm looking for help in crafting a regular expression that detects a count of 10 (or more) of the characters '%' or '=' or ':' in a string of any length.
Thus far, I've checked the following sources but couldn't seem to adapt what was posted to my needs:
- Regular expression to count number of commas in a string
- http://www.regular-expressions.info/reference.html
In addition, I've tried the following expressions myself but they wouldn't match my string. (I've been using "pcretest" to check for matches)
/[%=:]{10,}/
/[a-zA-Z0-9](:|%|=){10,}/
Can any one assist?