Getting entity regex based on stories

Hi , I might have same regex value or matching regex pattern for different entity and the intent will have oly the entity value. The current entity/intent must be picked from the story flow inspite of number of matching intent The next intent from the story must be matched with the regex and if matches it should be picked and assigned can it be done with less actions usage?