Weird Regex Issue [duplicate]

This question already has an answer here:

Why is preg_match_all('#.{3,}[[:space:]]is[[:space:]]available#',$page,$accounts);
matching <div class="alert alert-danger" role="alert"><span translate="no" class="alert-link">safasgdsgs</span> is available!

I want it to just match safasgdsgs is available!

EDIT: Its not answered at all… :/

Source: regex

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.