Regex tester
Pattern
Input
find all words wrapped in matching punctuation: #zip# *pow* !bam!
notice (blah) doesn't match because "(" is not the same character as ")"
Options
Replacement
Click the context tab to see replacements.
3 matches found in about 30 milliseconds.
IndexPositionMatched String${punctuation}
048#zip##
154*pow**
260!bam!!
find all words wrapped in matching punctuation: #zip# *pow* !bam!
​notice (blah) doesn't match because "(" is not the same character as ")"
  1. find all words wrapped in matching punctuation:
  2. #
  3. whitespace
  4. *
  5. whitespace
  6. !

  7. notice (blah) doesn't match because "(" is not the same character as ")"