tags:

views:

19

answers:

1

I am having a text like this

this is my sample \n text message \n for validation

i want a single REGEX to find whether that message contains a particular word

A: 

It's clear from your question that you have no understanding of regular expressions. However, you do seem to know where to use them. Give these resources a look.

Resources:

Syntax

Tester and Library

Brad
i want use in validation rules
Mubarak
@Mubarak, what do you mean by 'validation rules'? You have not tags as to the language you are working with.
Brad