Match with regex instead of exact string