I have this following string
</p><drupal-entity data-view-mode="oembed_display"></drupal-entity><p><strong>Designer Crush:</strong></p><drupal-entity data-view-mode="oembed_display"></drupal-entity><p> </p>
pattern is
<drupal-entity((?!<drupal-entity).)*?><\/drupal-entity><p> <\/p>
which is matching fine, but having some extra character at
as another group "
and i just want this string to be matched
<drupal-entity data-view-mode="oembed_display"></drupal-entity><p> </p>
<\/p>`, and what you want it to produce is `