Hi@AkshayManke,
Based on the issue that you mentioned, do you want to disable the submit button if there is any special characters in the TextInput?
As @jlindstrom said, IsMatch() can achieve your needs, I have a test on my side, please take a try as below.
Set the OnChange property of the corresponding DataCardValue to TextInput control as below.
IsMatch(DataCardValue6.Text,".*[\\\"&Char(34)&"].*")
To warn the user the invalid characters, add a Label and set the following Text, Visible property as below
Text property: "Special characters are not allowed!"
Visible property: IsMatch(DataCardValue6.Text,".*[\\\"&Char(34)&"].*")
Set the DisplayMode property of the submit button as below
If(
!Label5.Visible,
Edit,
Disabled
)
Note: Special character in my test are "\" and double quote, you can replace it with yours.
You can check the GIF for reference.

Best Regards,
Qi