Click here to Skip to main content
15,897,891 members

Comments by Member 13704136 (Top 5 by date)

Member 13704136 5-Mar-18 15:53pm View    
I dont have any code as I mentioned earlier. It is a tool where I can put regex to manipulate the string values. When I use (^.*)-?Monday(.*)

It gives me results Match Group as:
1) Sunday
2) 100

But I need Match Group as:
1) Sunday100
Member 13704136 2-Mar-18 18:43pm View    
Hi, i need the result using regex command only. Can not use any fucntion/parameters.
if I use this:
(^.*)-?Monday(.*)

it gives me results as 2 value Sunday and 100

But I need value as Sunday100..

Thanks. Help!
Member 13704136 2-Mar-18 18:43pm View    
Hi, i need the result using regex command only. Can not use any fucntion/parameters.
if I use this:
(^.*)-?Monday(.*)

it gives me results as 2 value Sunday and 100

But I need value as Sunday100

Thanks for your help
Member 13704136 2-Mar-18 13:43pm View    
Thanks. I just need help in regex. Not sure what is code
Member 13704136 2-Mar-18 12:55pm View    
Your regular expression:
/
(^.*)-?(Monday)(.*)$
/

Your test string:
Sunday Monday 100

Match result:
Sunday Monday 100
Match groups:
1. Sunday
2. Monday
3. 100

But I want result as "Sunday100"

trying it in Rubular.com