1645
Views
4
Comments
How to Check special characters in a string
Question

Hi,


I'm using Regex_search to find the special characters in a input-box.

Can you please help me which pattern to be used in Regex_search  to find special characters in a input-box.

2023-02-10 19-42-59
João Melo
 
MVP
UserImage.jpg
Wilbert Carpi

Hi Suresh,

I advice you read more about Regex. There are a lot of content at Internet, for example https://regexone.com/

I like to use some regex online testers, like https://regex101.com/ or https://regexr.com/

Some of them offer help to construct your regex

Here, an example of use:




2020-03-01 17-52-33
Nikhil Gaur

Hi Suresh,

You can use below pattern in Regex_Search to detact special characters in any text

[!@#$%^&*(),.?"":{}|<>]

2024-02-16 07-43-18
Amit Verma

Suresh Babu Malayathi wrote:

Hi,


I'm using Regex_search to find the special characters in a input-box.

Can you please help me which pattern to be used in Regex_search  to find special characters in a input-box.

Hi Suresh,

Please check below link

https://www.outsystems.com/forums/discussion/44810/restrict-multiple-special-characters/

Thanks,

 AV


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.