Win a copy of Fixing your Scrum this week in the Agile forum!

kayanaat sidiqui

Ranch Hand
+ Follow
since Sep 04, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by kayanaat sidiqui

Thanks Paul for the response.

Well i have a xml file in which "ClearCut" nodes appears more than once.
The need is to fetch the all values of the "ClearCut".

It would be great if you show me the way to write regex for the same.
11 years ago
Hi,

Can anybody help me out for reading value of "ClearCut"

The form is as follows--


Here i want a regular expression to have only "CDATA[Release11/Details(NUSENM_PR1)/PPanel.component".
11 years ago
Hi,

In my code i have a string.
Now in this string i need to print a warning message, if contains
any character other than (A-Z,a-z,0-9,_)

I tried to do with contains([A-Za-z0-9_])and pattern().
But could not get through.

Where am i doing mistake. Can you please point it out..

Tahnks,
Kaya.
12 years ago
Hi,

Can any body please tell me the how to write Shell Script For Getting List Of File name In A directory;

Same In DOS also.

Thanks,
Kaya.
12 years ago
Hi,

I have a java class for which im defined logger in the the class itself--



Now for looging defined log4.properties, in which defined rootlogger, corresponding appenders and other appender properties.


In code i used LOG.warn(), which is shown on console and wrote to file also.

But in one particular case i need to use LOG.warn() in such a way so that the log message will only shown on console but not to be write in the file.

Is there a way to do this?


Thanks,
kaya.
Hi,

I want to replace a particular string in a file.

Can you please guide me how to start with this?


Thanks,
Kaya.
12 years ago
Thanks a lot Rob for the descriptive solution.
It was really very helping content you wrote.
Can you please share the link to read more about regular expressions.

Thank you Sagar for your quick response.
12 years ago
Hi,

I need to search for string in the form of
1. name="<anything>"
2. name="<anything.anotherThing>"

I am using the following code--




It's giving output like--




Can you please point out where i m doing mistake?

Thanks,
Kaya.
12 years ago
Thanks Rob.

Previously i tried with this. But did some mistakes thts why i did not get result.

Anyways thanks a lot. I did it.
12 years ago
Hi,

Suppose there is a zipped folder name "myZip.zip".

It contains two text files let say text1.txt and text2.txt.

What i need is to delete the "myZip.zip".


How to do that?

Thanks,
Kaya.
12 years ago
Thanks a lot Antany.

It was really helpful.

Thank you once again.
12 years ago
Yes Antany. It's working fine.
Thanks a lot.

Wel i have one more query.

I am using the following code for getting last modified date.



But the problem is this it's not giving 24 hrs format.

How to get that?

Thanks,
Kaya.
12 years ago
Hi,

I have a formatted date as given below--



Is there any way to convert this string into long value?

I tried to use


But it's throwing

format.parseObject(String) failed

exception.
12 years ago
Thanks a lot Rob. Now i am able to get my desired result.

Also Thanks to Jelle Klap and Jesper Young for giving me such a nice definition.


12 years ago
Hi,

I am using Java.IO.File 's lastModified() method.

As the reur type is long its giving value like this--

1248362044000.

What is the meaning of this?

Is there any way to parse it into simple date format like yyyy-MM-dd hh-mm?


Thanks,
Kaya.
12 years ago