Link to home
Start Free TrialLog in
Avatar of banu111
banu111

asked on

Regex pattern for a string

Friends I have string computername=Mytest.Mytest.local
I have a method Extractstring which takes computername

Extractstring(computername)
{

if computername has  pattern like  A.A.Local then do something else nothing
how to determine if the string has .. pattern can i use regex for this



}
SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial