need a regex for matching repeating lines of symbols (example: ------------- or *****************)
- by Haroldo
I want to be able to remove linebreaks etc that people make by using recurring characters, for example:
****************************************************
----------------------------------------------------
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
etc
i'd like to not have to specify which characters it will match, maybe all that are NOT \w characters?
also note they will not always start/end on a new line..
is this possible?