473,387 Members | 1,515 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Regd. Kodos

I am trying to use Kodos..but not getting thru'..dont know whats goin
on..does anyone have a regular expression for time in hh:mm:ss
-Vishal
Feb 3 '07 #1
2 1092
On Feb 3, 8:59 am, vis...@veriwave.com wrote:
I am trying to use Kodos..but not getting thru'..dont know whats goin
on..does anyone have a regular expression for time in hh:mm:ss
-Vishal
Well, with just knowing the above, the following raw string when used
as a regular expression will capture the hh,mm,ss as groups 1,2,3
r'\b(\d\d):(\d\d):(\d\d)\b'

- Paddy

Feb 3 '07 #2
On Feb 3, 9:17 am, "Paddy" <paddy3...@netscape.netwrote:
On Feb 3, 8:59 am, vis...@veriwave.com wrote:
I am trying to use Kodos..but not getting thru'..dont know whats goin
on..does anyone have a regular expression for time in hh:mm:ss
-Vishal

Well, with just knowing the above, the following raw string when used
as a regular expression will capture the hh,mm,ss as groups 1,2,3
r'\b(\d\d):(\d\d):(\d\d)\b'

- Paddy
P.S. I fired up Kodos and cut and pasted your message into the search
string box;
left the bottom notebook on the groups tag to show what groups i had
captured; left the flags al off; then started typing the regular
expression into the regular expression pattern box.
Thats when i realised that your email said hh:mm:ss and I needed to
match something with numbers so appended 08:34:66 as a new ine in the
search string box.
After typing in the regex, the group tab showed what I was after

I like Kodos because it helps me when the RE's are much longer but i
have sample text that I can easily paste in. I usually paste in a
large tet sample just to make sure my RE doesn't fail on something I'm
not expecting.
- Paddy.
..

Feb 3 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Raja | last post by:
Dear Members, Has anyone used the Vector Draw (www.vdraw.com) Component in Visual Basic. I need to create an application to be able to draw the plan view of a building. Any help in this regard...
1
by: vijay | last post by:
Hi... The default framework that ships with Visual Studio 7.0 Enterprise architect is v1.0.3705. Is it possible for me to remove the Framework alone and install the new .NET framework 1.1 and...
0
by: razheev | last post by:
Hi, I have a Table which contains 1 million rows. I want to do an unload of the table and do some massaging (tranforming) of data and do a load to a different table where the column attributes are...
1
by: Jyothi | last post by:
Hi, In a rich text box , I select a text and make it Bold it turns bold and i make it italic the bold nature is lost.... I do not want this to happen..how do i avoid this? I want the...
0
by: Srinivas | last post by:
I am working on ASP.Net using VB.Net. I have created some web forms. I didn't find any problem in running them for the firt time. But suddently it started giving IE error on any event...
3
by: ItsMe | last post by:
Hi Guyz, I'm developing some application using third party api. They have given me sample project which is in VB6.0. I'm a newbie in vb.net. and the classic vb works perfectly alright. My job is...
0
by: lakshmananl | last post by:
hi people, i need to transfer some data from a DB2 database to SQL server 2000 db in win2k OS. kindly guide, so that if the data from db2 db is to be exported in any specific format so that it can...
2
by: Madhusudhanan Chandrasekaran | last post by:
Hi: This question is not directed "entirely" at python only. But since I want to know how to do it in python, I am posting here. I am constructing a huge matrix (m x n), whose columns n are...
2
by: vishal | last post by:
Hello All: I am trying to work out a regular expression in a PyQt environment for time in hh:mm:ss format. Any suggestions? Thanks, Vishal
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.