问题
Using SQL Anywhere 16 regex (Perl 5 equivalent) I would like to match all non-digit characters in the following string:
This 100 is 2 a 333 test.
such that the match results in This is a test.
I have a feeling this requires lookarounds but I'm not sure of the exact syntax.
Some of my failed attempts:
\D*
matches This
\D*(?=\d)
matches This
(\D*(?=\d*)|(?<=\d)\D*)*
matches This
来源:https://stackoverflow.com/questions/36020273/regex-to-match-all-non-digit-characters-which-are-interspersed-with-digits-with