How to check if a word contains D letter in regex

How to check if a word contains D letter in regex ?

For Example, this word “D3465” in string, the result is true

you can use the following regex to check D exists in the given text.

([D|d])  or (D|d)
1 Like

@Suastrian_Dika
Use isMatch function

Cheers!!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.