I want to allow all special character , user should not be able to enter html tags.
500 words should be accept max . How to do this?
$attributes = $request->validate([
'video_id' => 'required',
'package_id' => 'required',
'question' => 'required|max:200|regex:/^[.a-zA-Z0-9n,!?-' ]*$/',
'time' => ''
]);
This is my current code .