Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. akrishmohan

    Regular expression pattern matching

    Cool...That was indeed a simple one...I had another question. What if I had a restriction on numbers that appear on either side of : ? So numbers are either side of : should be of the format MM:SS where MM - Minutes and SS - seconds. Thats why I put in the OR condition in my original post...
  2. akrishmohan

    Regular expression pattern matching

    I was just trying to explain what i was doing. Its just a pseudo code. I know the matching has to be done using =~ in perl. Some valid ones are: 20=34x45,21=2:45 20=34x45,21=3:01,34=12:32 10=23:12 Invalid ones are 20=34x45,21=2:45, 20 30,23,34 abc Hope that helps K
  3. akrishmohan

    Regular expression pattern matching

    I have a string that needs to be matched against a regex and if a match occurs return true/ false. The variable length string to be compared looks like this 20=34x89,10=23:45,12=10:32, and soon. As you can see, the number and order of strings containing x's and :'s are not known. I wrote...
  4. akrishmohan

    Regular expression question

    Lets forget about the presence of Hello World in the string. I have a request string that I need to validate on the server. The request string (ideally) should be comma separated positive integers. If the string is NOT properly formatted, I reject the string. So yes, its a true or false...
  5. akrishmohan

    Regular expression question

    Below is the right data 12,43,45 - MATCH 12,34,56,77 - MATCH 112,23, - NO MATCH 11,3,45,66,77,88, - NO MATCH 90 - MaTCH 39, - NO MATCH 38,,45,9 - NO MATCH Thx K
  6. akrishmohan

    Regular expression question

    Just to simplify things I would want to match only Comma Separated Integers. I want to match just one integer (with no comma) and I DONT want to match something like this 1,2,3, This is the summary 1,2,3,..n - ok 1,2,3,...n, - NOT OK 1 - ok Hope this is clear Thanks K
  7. akrishmohan

    Regular expression question

    Hi I am trying to determine the regular exp for finding a comma separated integer pattern with in a string e.g Hello++1,2,3++World There could be just integer (ofcourse without any comma at the end) or many integers (comma separated)> Let me know. Thanks K
  8. akrishmohan

    How to Parse this

    Well, sorry for being really vague. I need to parse a file which contains a line of this pattern [a b 1 2][a c 1 3]. Now I would need the output to print something like this a b 1 2 a c 1 3 I would like to use only Regualar Expressions for this. Hope I am clear this time. Thanks
  9. akrishmohan

    How to Parse this

    I have a data [1 2 a b] that needs to be parsed to something like this 1 2 and a b ... How do I do it? Thanks for ur help
  10. akrishmohan

    Different Page Views

    Hi I have an data-entry jsp which needs to offer three different views based on a certain set of conditions There are three text fields 1) Old password 2) New Password 3) Enter New Password again 1,2 and 3 will be shown if the user is an owner 1 will be replaced by a label if the user is a...
  11. akrishmohan

    Javascript and PopUp

    Hi I have a requirement wherein I click on a link in a window which opens another window. I do not want the pop-up window blocker to be blocking this popped window. Is there a workaround for this in JavaScript? Thanks Krish
  12. akrishmohan

    Merging using Perl

    HI all I am very new to perl... I was just wondering about the solution to this question. I have two arrays A and B containing integers. Now i want to merge the two arrays. I was kinda confused with the syntax in perl so I didnt know which method to chhose. Anyways the idea is to remove the...
  13. akrishmohan

    Parsing Periods in the column

    Hi an Interesting question I have a column which stores a versin number in this format 1.5.5.19 1.5.5.9 ... ... I want to be able to sort this text column in an ascending order. Unfortunately it gives me 1.5.5.19 followed by 1.5.5.9 which is not the case. Please let me know ASAP Krish+
  14. akrishmohan

    Help with Screen Resolution

    Hi iam developing a form which should automatically fit for any screen resolution.Right now the form developed in 1024*968 looks pretty big in 800*600.Is there anyway that i can resize the form dynamically(prob using a piece of code).Thanks Krish
  15. akrishmohan

    Help with Views!!

    Iam an inexperienced MS SQL Server Programmer.I wanted to know if there is any way to link a table and a view having three fields in common.Please help me out with this. thanks krishna
  16. akrishmohan

    Combo Boxes

    Hi iam a beginner...i wanted to find out the number of records returned by searching for a string using combo boxes.The combo box is on a form and the related records on a subform..Thanks Krishna
  17. akrishmohan

    Dynamic Reports

    but what if more than one table is involved????Could you plz provide a pseudo code...iam a beginner...Thanks
  18. akrishmohan

    Dynamic Reports

    Please solve this problem of creating dynamic reports. I have a report rptMailingList which needs to be dynamically updated from each row of the query.That is i shud pick up the data in the first row of the query and create a report based on that.Similarly the second and soon till the end...
  19. akrishmohan

    Dynamic Updating of the report

    Please help me with this problem.I am supposed to mail reports to different users based on one condition.The Status check box corresponding to each User,if checked,should then be used to create a dynamic report containing the following fields Username City Country Then based on the username i...
  20. akrishmohan

    Multi Column combo box

    Hi someone please help me with this problem with access database... i have two tables named PITable and Datatable. the PITable consists of two fields last name and firstname ..the combination of which is a primary key.It forms a one-to-many relationship with Datatable wherein there are 20...

Part and Inventory Search

Back
Top